From b690c3e1d3452d11e472e420e1eb63e64b011058 Mon Sep 17 00:00:00 2001 From: Ben Alex Date: Wed, 23 May 2007 06:59:20 +0000 Subject: [PATCH] SEC-453: Log root cause of exception. --- .../acegisecurity/adapters/cas3/CasAuthenticationHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;