- To use the custom authentication management option, you must implement a
java.net.authenticator class with a custom getPasswordAuthentication() method. - Set the MX_HTTP_CLIENT_AUTHENTICATION_CLASS variable to the name of the authenticator implementation.
- Set the authenticator class as the default authenticator.
- Invoke the
getPasswordAuthentication() method at the network challenge event to obtain the appropriate credential.Note:
The authenticator class should reside in the classpath.
The authenticator class cannot be a JPO since it resides only in the database.
|