Browse Source

Merge pull request #103 from bcecchinato/fix-logs

Trivial logging fix in saveContext method in HttpSessionSecurityContextRepository
Rob Winch 10 years ago
parent
commit
62d74aef3d

+ 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);
                     }
                 }
             }