Log stack trace to assist debugging.

This commit is contained in:
Ben Alex 2004-07-08 21:50:42 +00:00
parent e987e1051b
commit 957e28252e
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ public class SecurityEnforcementFilter implements Filter, InitializingBean {
if (logger.isDebugEnabled()) { if (logger.isDebugEnabled()) {
logger.debug( logger.debug(
"Authentication failed - adding target URL to Session: " "Authentication failed - adding target URL to Session: "
+ targetUrl); + targetUrl, authentication);
} }
((HttpServletRequest) request).getSession().setAttribute(AbstractProcessingFilter.ACEGI_SECURITY_TARGET_URL_KEY, ((HttpServletRequest) request).getSession().setAttribute(AbstractProcessingFilter.ACEGI_SECURITY_TARGET_URL_KEY,