crafty Posted June 8, 2011 Share Posted June 8, 2011 Using JasperServer Pro 3.7.1I am using Active Directory as an external authority. The LDAP module com.sun.security.authmodule.LdapLoginModule is being used.I would like to log and return more detailed information to the user when authentication fails. For example, if the account has expired, I would like "Account Expired" returned to the user and logged. Currently, JasperServer just reports "Invalid Credentials Supplied. Could not login to Jasper." In the log file you just see "Authentication event AuthenticationFailureBadCredentialsEvent"What section of JasperServer code handles the LDAP login exception? I believe more exception information is available from the login module because if I use an LDAP browser, I see:Caused by: javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903AA, comment: AcceptSecurityContext error, data 701, v1771"data 701 corresponds to "account expired" per this link:http://wiki.service-now.com/index.php?title=LDAP_Error_Codes Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now