I am playing around with v3.5.1 in our CAS DEV instance. Previously we
were running v3.4.12. On v3.4.12, I see the following log message when a
user's authentication fails:
2012-10-25 10:43:55,001 INFO
[org.jasig.cas.authentication.AuthenticationManagerImpl] -
AuthenticationHandler:
org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler failed to
authenticate the user which provided the following credentials: [username:
morgan]
On v3.5.1, I get a big Java stack trace error:
2012-10-25 10:26:21,408 ERROR
[org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler] - [LDAP: error
code 49 - Invalid Credentials]; nested exception is
javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid
Credentials]
org.springframework.ldap.AuthenticationException: [LDAP: error code 49 -
Invalid Credentials]; nested exception is
javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid
Credentials]
at
org.springframework.ldap.support.LdapUtils.convertLdapException(LdapUtils.java:182)
<long stack trace deleted>
Is this the expected behavior? Is there a way to change the logging back
to the old behavior? The stack trace doesn't serve any useful purpose,
but I would still like to see a simple "failed to authenticate user: foo"
message in the log.
Thanks,
Andy
--
You are currently subscribed to
cas-...@lists.jasig.org as:
jasig-cas-user...@googlegroups.com
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user