mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-25 21:42:17 +00:00
SEC-453: Log root cause of exception.
This commit is contained in:
parent
a3c992113e
commit
b690c3e1d3
@ -67,7 +67,7 @@ public final class CasAuthenticationHandler extends AbstractUsernamePasswordAuth
|
|||||||
this.authenticationManager.authenticate(authenticationRequest);
|
this.authenticationManager.authenticate(authenticationRequest);
|
||||||
} catch (final org.acegisecurity.AuthenticationException e) {
|
} catch (final org.acegisecurity.AuthenticationException e) {
|
||||||
if (log.isDebugEnabled()) {
|
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;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user