diff --git a/core/src/main/java/org/springframework/security/config/HttpSecurityBeanDefinitionParser.java b/core/src/main/java/org/springframework/security/config/HttpSecurityBeanDefinitionParser.java index 1a3f65f4fc..24855d7923 100644 --- a/core/src/main/java/org/springframework/security/config/HttpSecurityBeanDefinitionParser.java +++ b/core/src/main/java/org/springframework/security/config/HttpSecurityBeanDefinitionParser.java @@ -262,6 +262,7 @@ public class HttpSecurityBeanDefinitionParser implements BeanDefinitionParser { } registry.registerBeanDefinition(BeanIds.FILTER_CHAIN_PROXY, filterChainProxy); + registry.registerAlias(BeanIds.FILTER_CHAIN_PROXY, BeanIds.SPRING_SECURITY_FILTER_CHAIN); registry.registerBeanDefinition(BeanIds.HTTP_SESSION_CONTEXT_INTEGRATION_FILTER, httpScif); registry.registerBeanDefinition(BeanIds.EXCEPTION_TRANSLATION_FILTER, exceptionTranslationFilterBuilder.getBeanDefinition()); registry.registerBeanDefinition(BeanIds.FILTER_SECURITY_INTERCEPTOR, filterSecurityInterceptorBuilder.getBeanDefinition()); diff --git a/samples/cas/client/src/main/webapp/WEB-INF/web.xml b/samples/cas/client/src/main/webapp/WEB-INF/web.xml index b8d7877b73..4fdd76b395 100644 --- a/samples/cas/client/src/main/webapp/WEB-INF/web.xml +++ b/samples/cas/client/src/main/webapp/WEB-INF/web.xml @@ -28,12 +28,12 @@ - _filterChainProxy + springSecurityFilterChain org.springframework.web.filter.DelegatingFilterProxy - _filterChainProxy + springSecurityFilterChain /* diff --git a/samples/contacts/src/main/webapp/WEB-INF/web.xml b/samples/contacts/src/main/webapp/WEB-INF/web.xml index a336bb4ac5..078681e31c 100644 --- a/samples/contacts/src/main/webapp/WEB-INF/web.xml +++ b/samples/contacts/src/main/webapp/WEB-INF/web.xml @@ -46,12 +46,12 @@ - _filterChainProxy + springSecurityFilterChain org.springframework.web.filter.DelegatingFilterProxy - _filterChainProxy + springSecurityFilterChain /* diff --git a/samples/tutorial/src/main/webapp/WEB-INF/web.xml b/samples/tutorial/src/main/webapp/WEB-INF/web.xml index 77403adc67..31023e1432 100644 --- a/samples/tutorial/src/main/webapp/WEB-INF/web.xml +++ b/samples/tutorial/src/main/webapp/WEB-INF/web.xml @@ -24,12 +24,12 @@ - _filterChainProxy + springSecurityFilterChain org.springframework.web.filter.DelegatingFilterProxy - _filterChainProxy + springSecurityFilterChain /*