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
Stringmessage = "A filter chain that matches any request [" + anyRequestFilterChain
318
-
+ "] has already been configured, which means that this filter chain [" + securityFilterChain
319
-
+ "] will never get invoked. Please use `HttpSecurity#securityMatcher` to ensure that there is only one filter chain configured for 'any request' and that the 'any request' filter chain is published last.";
320
-
thrownewIllegalArgumentException(message);
321
-
}
322
-
if (securityFilterChaininstanceofDefaultSecurityFilterChaindefaultSecurityFilterChain) {
323
-
if (defaultSecurityFilterChain.getRequestMatcher() instanceofAnyRequestMatcher) {
Stringmessage = "A filter chain that matches any request [" + anyRequestFilterChain
40
+
+ "] has already been configured, which means that this filter chain [" + chain
41
+
+ "] will never get invoked. Please use `HttpSecurity#securityMatcher` to ensure that there is only one filter chain configured for 'any request' and that the 'any request' filter chain is published last.";
42
+
thrownewIllegalArgumentException(message);
43
+
}
44
+
if (chaininstanceofDefaultSecurityFilterChaindefaultChain) {
45
+
if (defaultChain.getRequestMatcher() instanceofAnyRequestMatcher) {
0 commit comments