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
1 changed files with 1 additions and 1 deletions

View File

@ -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;