You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: config/src/main/java/org/springframework/security/config/annotation/web/AbstractRequestMatcherRegistry.java
+32-4
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,8 @@
18
18
19
19
importjava.util.ArrayList;
20
20
importjava.util.Arrays;
21
+
importjava.util.Collection;
22
+
importjava.util.LinkedHashMap;
21
23
importjava.util.List;
22
24
importjava.util.Map;
23
25
@@ -194,18 +196,31 @@ public C requestMatchers(HttpMethod method, String... patterns) {
"This method cannot decide whether these patterns are Spring MVC patterns or not. If this endpoint is a Spring MVC endpoint, please use requestMatchers(MvcRequestMatcher); otherwise, please use requestMatchers(AntPathRequestMatcher).");
Copy file name to clipboardExpand all lines: config/src/test/java/org/springframework/security/config/annotation/web/AbstractRequestMatcherRegistryTests.java
+14-2
Original file line number
Diff line number
Diff line change
@@ -174,12 +174,24 @@ public void requestMatchersWhenNoDispatcherServletThenAntPathRequestMatcherType(
0 commit comments