Class RequestMatcherUtils
java.lang.Object
io.jmix.securityresourceserver.requestmatcher.util.RequestMatcherUtils
Utility class for working with
RequestMatcher
required by resource server.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.security.web.util.matcher.RequestMatcher
createCombinedRequestMatcher
(List<org.springframework.security.web.util.matcher.RequestMatcher> requestMatchers) Creates theOrRequestMatcher
from the givenrequestMatchers
if the collection of matchers is not empty.
-
Constructor Details
-
RequestMatcherUtils
public RequestMatcherUtils()
-
-
Method Details
-
createCombinedRequestMatcher
public static org.springframework.security.web.util.matcher.RequestMatcher createCombinedRequestMatcher(List<org.springframework.security.web.util.matcher.RequestMatcher> requestMatchers) Creates theOrRequestMatcher
from the givenrequestMatchers
if the collection of matchers is not empty. Otherwise, returns a request matcher that always returns false.
-