Uses default scope to create params checkers

Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/eeab2652
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/eeab2652
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/eeab2652

Branch: refs/heads/master
Commit: eeab265282774927dbb7f28829a0cebedd9c5d36
Parents: 1aa2752
Author: Lukasz Lenart <lukaszlen...@apache.org>
Authored: Wed Nov 12 09:59:10 2014 +0100
Committer: Lukasz Lenart <lukaszlen...@apache.org>
Committed: Wed Nov 12 09:59:10 2014 +0100

----------------------------------------------------------------------
 core/src/main/resources/struts-default.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts/blob/eeab2652/core/src/main/resources/struts-default.xml
----------------------------------------------------------------------
diff --git a/core/src/main/resources/struts-default.xml 
b/core/src/main/resources/struts-default.xml
index b0689a5..43f69ed 100644
--- a/core/src/main/resources/struts-default.xml
+++ b/core/src/main/resources/struts-default.xml
@@ -160,8 +160,8 @@
     <bean type="ognl.PropertyAccessor" name="java.util.HashSet" 
class="com.opensymphony.xwork2.ognl.accessor.XWorkCollectionPropertyAccessor" />
     <bean type="ognl.PropertyAccessor" name="java.util.HashMap" 
class="com.opensymphony.xwork2.ognl.accessor.XWorkMapPropertyAccessor" />
 
-    <bean type="com.opensymphony.xwork2.security.ExcludedPatternsChecker" 
name="struts" 
class="com.opensymphony.xwork2.security.DefaultExcludedPatternsChecker" />
-    <bean type="com.opensymphony.xwork2.security.AcceptedPatternsChecker" 
name="struts" 
class="com.opensymphony.xwork2.security.DefaultAcceptedPatternsChecker" />
+    <bean type="com.opensymphony.xwork2.security.ExcludedPatternsChecker" 
name="struts" 
class="com.opensymphony.xwork2.security.DefaultExcludedPatternsChecker" 
scope="default" />
+    <bean type="com.opensymphony.xwork2.security.AcceptedPatternsChecker" 
name="struts" 
class="com.opensymphony.xwork2.security.DefaultAcceptedPatternsChecker" 
scope="default" />
 
     <package name="struts-default" abstract="true">
         <result-types>

Reply via email to