2
0
Эх сурвалжийг харах

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

Rob Winch 14 жил өмнө
parent
commit
f359bed596

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

@@ -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");
                 }