Class CompositeResourceServerRequestMatcherProviderImpl
java.lang.Object
io.jmix.securityresourceserver.requestmatcher.impl.CompositeResourceServerRequestMatcherProviderImpl
- All Implemented Interfaces:
CompositeResourceServerRequestMatcherProvider
public class CompositeResourceServerRequestMatcherProviderImpl
extends Object
implements CompositeResourceServerRequestMatcherProvider
A default implementation of
CompositeResourceServerRequestMatcherProvider
that combines multiple
AuthenticatedRequestMatcherProvider
s and AnonymousRequestMatcherProvider
s using an OR condition.- See Also:
-
Constructor Summary
ConstructorDescriptionCompositeResourceServerRequestMatcherProviderImpl
(Collection<AuthenticatedRequestMatcherProvider> authenticatedRequestMatcherProviders, Collection<AnonymousRequestMatcherProvider> anonymousRequestMatcherProviders) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.web.util.matcher.RequestMatcher
Returns aRequestMatcher
that matches anonymous requests.org.springframework.security.web.util.matcher.RequestMatcher
Returns aRequestMatcher
that matches authenticated requests.protected org.springframework.security.web.util.matcher.RequestMatcher
protected org.springframework.security.web.util.matcher.RequestMatcher
-
Constructor Details
-
CompositeResourceServerRequestMatcherProviderImpl
public CompositeResourceServerRequestMatcherProviderImpl(Collection<AuthenticatedRequestMatcherProvider> authenticatedRequestMatcherProviders, Collection<AnonymousRequestMatcherProvider> anonymousRequestMatcherProviders)
-
-
Method Details
-
getAuthenticatedRequestMatcher
public org.springframework.security.web.util.matcher.RequestMatcher getAuthenticatedRequestMatcher()Description copied from interface:CompositeResourceServerRequestMatcherProvider
Returns aRequestMatcher
that matches authenticated requests.- Specified by:
getAuthenticatedRequestMatcher
in interfaceCompositeResourceServerRequestMatcherProvider
-
getAnonymousRequestMatcher
public org.springframework.security.web.util.matcher.RequestMatcher getAnonymousRequestMatcher()Description copied from interface:CompositeResourceServerRequestMatcherProvider
Returns aRequestMatcher
that matches anonymous requests.- Specified by:
getAnonymousRequestMatcher
in interfaceCompositeResourceServerRequestMatcherProvider
-
getCompositeAuthenticatedRequestMatcher
protected org.springframework.security.web.util.matcher.RequestMatcher getCompositeAuthenticatedRequestMatcher() -
getCompositeAnonymousRequestMatcher
protected org.springframework.security.web.util.matcher.RequestMatcher getCompositeAnonymousRequestMatcher()
-