diff --git a/adapters/cas/src/main/java/org/acegisecurity/adapters/cas3/CasAuthenticationHandler.java b/adapters/cas/src/main/java/org/acegisecurity/adapters/cas3/CasAuthenticationHandler.java index 7f19250c30..216eaf3e18 100644 --- a/adapters/cas/src/main/java/org/acegisecurity/adapters/cas3/CasAuthenticationHandler.java +++ b/adapters/cas/src/main/java/org/acegisecurity/adapters/cas3/CasAuthenticationHandler.java @@ -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;