소스 검색

Adding httpSession in logging for the saveContext method

bcecchinato 11 년 전
부모
커밋
bb1762d4c3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      web/src/main/java/org/springframework/security/web/context/HttpSessionSecurityContextRepository.java

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