Class RequestMatcherUtils

java.lang.Object
io.jmix.securityresourceserver.requestmatcher.util.RequestMatcherUtils

public class RequestMatcherUtils extends Object
Utility class for working with RequestMatcher required by resource server.
  • 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 the OrRequestMatcher from the given requestMatchers if the collection of matchers is not empty. Otherwise, returns a request matcher that always returns false.