Browse Source

Make method in MatcherType public for use in OAuth.

Luke Taylor 15 years ago
parent
commit
e69b981c72

+ 1 - 1
config/src/main/java/org/springframework/security/config/http/MatcherType.java

@@ -34,7 +34,7 @@ public enum MatcherType {
         this.type = type;
     }
 
-    BeanDefinition createMatcher(String path, String method) {
+    public BeanDefinition createMatcher(String path, String method) {
         if ("/**".equals(path) && method == null) {
             return new RootBeanDefinition(AnyRequestMatcher.class);
         }