1
0
mirror of synced 2026-08-05 17:57:15 +00:00

SEC-453: Log root cause of exception.

This commit is contained in:
Ben Alex
2007-05-23 06:59:20 +00:00
parent a3c992113e
commit b690c3e1d3
@@ -67,7 +67,7 @@ public final class CasAuthenticationHandler extends AbstractUsernamePasswordAuth
this.authenticationManager.authenticate(authenticationRequest);
} catch (final org.acegisecurity.AuthenticationException e) {
if (log.isDebugEnabled()) {
log.debug("Authentication request for " + credentials.getUsername() + "failed: " + e.toString());
log.debug("Authentication request for " + credentials.getUsername() + " failed: " + e.toString(), e);
}
return false;