浏览代码

Adding httpSession in logging for the saveContext method

bcecchinato 11 年之前
父节点
当前提交
bb1762d4c3

+ 1 - 1
web/src/main/java/org/springframework/security/web/context/HttpSessionSecurityContextRepository.java

@@ -324,7 +324,7 @@ public class HttpSessionSecurityContextRepository implements SecurityContextRepo
                     httpSession.setAttribute(springSecurityContextKey, context);
 
                     if (logger.isDebugEnabled()) {
-                        logger.debug("SecurityContext stored to HttpSession: '" + context + "'");
+                        logger.debug("SecurityContext '" + context + "' stored to HttpSession: '" + httpSession);
                     }
                 }
             }