Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 10 JAAS Authentication Modules : Troubleshooting Problems in the JAAS Modules

Troubleshooting Problems in the JAAS Modules
In order to troubleshoot JAAS modules, the first action to take is to
1.
console_trace = DEFAULT,+JAAS,+JVM,+JVMERR
2.
EMSUserAuthentication {
com.tibco.tibems.tibemsd.security.jaas.LDAPSimpleAuthentication required
debug="true"
tibems.ldap.url="ldap://ldapserver:389"
tibems.ldap.user_pattern="CN=%u"
};
 
This will provide a list of parameters passed into LDAP, which is useful in identifying any mistyped parameters or default values that need to be changed. Verbose output is provided to help identify the problem.
When developing a custom JAAS module, it is possible for a runtime exception inside a JAAS method to cause the JAAS module to fail. In those cases, catching and printing exceptions to the default output stream provides valuable information.
 

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved