Browse Source

SEC-1777: Corrected log in HttpSessionSecurityContextRepository to reference itself instead of HttpSessionContextIntegrationFilter

3.0.x
Rob Winch 15 years ago
parent
commit
f359bed596
  1. 3
      web/src/main/java/org/springframework/security/web/context/HttpSessionSecurityContextRepository.java

3
web/src/main/java/org/springframework/security/web/context/HttpSessionSecurityContextRepository.java

@ -375,7 +375,8 @@ public class HttpSessionSecurityContextRepository implements SecurityContextRepo @@ -375,7 +375,8 @@ public class HttpSessionSecurityContextRepository implements SecurityContextRepo
if (!allowSessionCreation) {
if (logger.isDebugEnabled()) {
logger.debug("The HttpSession is currently null, and the "
+ "HttpSessionContextIntegrationFilter is prohibited from creating an HttpSession "
+ HttpSessionSecurityContextRepository.class.getSimpleName()
+ " is prohibited from creating an HttpSession "
+ "(because the allowSessionCreation property is false) - SecurityContext thus not "
+ "stored for next request");
}

Loading…
Cancel
Save