From 48874d69a745b7d07d86e11f16c6c021e8ed7111 Mon Sep 17 00:00:00 2001 From: Luke Taylor Date: Fri, 5 Dec 2008 14:54:01 +0000 Subject: [PATCH] SEC-1039: Made sure "old" security context session key points to new one so they always match. --- .../context/HttpSessionContextIntegrationFilter.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/core/src/main/java/org/springframework/security/context/HttpSessionContextIntegrationFilter.java b/core/src/main/java/org/springframework/security/context/HttpSessionContextIntegrationFilter.java index 1b3a26ef2a..cd5d8f205a 100644 --- a/core/src/main/java/org/springframework/security/context/HttpSessionContextIntegrationFilter.java +++ b/core/src/main/java/org/springframework/security/context/HttpSessionContextIntegrationFilter.java @@ -88,10 +88,7 @@ import org.springframework.security.ui.FilterChainOrder; */ public class HttpSessionContextIntegrationFilter extends SecurityContextPersistenceFilter implements InitializingBean { //~ Static fields/initializers ===================================================================================== - -// static final String FILTER_APPLIED = "__spring_security_session_integration_filter_applied"; -// - public static final String SPRING_SECURITY_CONTEXT_KEY = "SPRING_SECURITY_CONTEXT"; + public static final String SPRING_SECURITY_CONTEXT_KEY = HttpSessionSecurityContextRepository.SPRING_SECURITY_CONTEXT_KEY; //~ Instance fields ================================================================================================