The following is a sample JAAS configuration file:
iWayHttpClient {
com.sun.security.auth.module.Krb5LoginModule
required
// debug=true
useKeyTab=true
storeKey=true
doNotPrompt=false;
};The debug option of the Krb5LoginModule can be used in conjunction with the sun.security.krb5.debug system property to offer maximum debugging information. In this sample file, the debug option is commented out.
The doNotPrompt property is set to false to allow the HTTP client provider to provide the user name and password through a JAAS Callback. The user will not be prompted.
| iWay Software |