diff --git a/samples/contacts/src/main/webapp/WEB-INF/web.xml b/samples/contacts/src/main/webapp/WEB-INF/web.xml
index 7f9d88b18c..fd82d4a83a 100644
--- a/samples/contacts/src/main/webapp/WEB-INF/web.xml
+++ b/samples/contacts/src/main/webapp/WEB-INF/web.xml
@@ -45,17 +45,13 @@
-
- Spring Security Filter Chain Proxy
- org.springframework.security.util.FilterToBeanProxy
-
- targetClass
- org.springframework.security.util.FilterChainProxy
-
-
+
+ filterChainProxy
+ org.springframework.web.filter.DelegatingFilterProxy
+
- Spring Security Filter Chain Proxy
+ filterChainProxy
/*
diff --git a/samples/tutorial/src/main/webapp/WEB-INF/web.xml b/samples/tutorial/src/main/webapp/WEB-INF/web.xml
index 3c3618fc66..854ab51cf0 100644
--- a/samples/tutorial/src/main/webapp/WEB-INF/web.xml
+++ b/samples/tutorial/src/main/webapp/WEB-INF/web.xml
@@ -25,16 +25,12 @@
- Spring Security Filter Chain Proxy
- org.springframework.security.util.FilterToBeanProxy
-
- targetClass
- org.springframework.security.util.FilterChainProxy
-
+ _filterChainProxy
+ org.springframework.web.filter.DelegatingFilterProxy
- Spring Security Filter Chain Proxy
+ _filterChainProxy
/*