org.springframework.security.config.annotation.web.configurers
Class AbstractRequestMatcherMappingConfigurer<B extends SecurityBuilder<O>,C,O>
java.lang.Object
org.springframework.security.config.annotation.SecurityConfigurerAdapter<O,B>
org.springframework.security.config.annotation.web.AbstractRequestMatcherConfigurer<B,C,O>
org.springframework.security.config.annotation.web.configurers.AbstractRequestMatcherMappingConfigurer<B,C,O>
- Type Parameters:
B
- The Builder that is building Object O and is configured by this AbstractRequestMatcherMappingConfigurer
C
- The object that is returned or Chained after creating the RequestMatcherO
- The Object being built by Builder B
- All Implemented Interfaces:
- SecurityConfigurer<O,B>
- Direct Known Subclasses:
- ChannelSecurityConfigurer, ExpressionUrlAuthorizationConfigurer, UrlAuthorizationConfigurer
public abstract class AbstractRequestMatcherMappingConfigurer<B extends SecurityBuilder<O>,C,O>
- extends AbstractRequestMatcherConfigurer<B,C,O>
A base class for registering RequestMatcher
's. For example, it might allow for specifying which
RequestMatcher
require a certain level of authorization.
- Since:
- 3.2
- See Also:
ChannelSecurityConfigurer
,
UrlAuthorizationConfigurer
,
ExpressionUrlAuthorizationConfigurer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractRequestMatcherMappingConfigurer
public AbstractRequestMatcherMappingConfigurer()
chainRequestMatchers
protected final C chainRequestMatchers(List<RequestMatcher> requestMatchers)
- Marks the
RequestMatcher
's as unmapped and then calls chainRequestMatchersInternal(List)
.
- Specified by:
chainRequestMatchers
in class AbstractRequestMatcherConfigurer<B extends SecurityBuilder<O>,C,O>
- Parameters:
requestMatchers
- the RequestMatcher
instances that were created
- Returns:
- the chained Object for the subclass which allows association of something else to the
RequestMatcher
chainRequestMatchersInternal
protected abstract C chainRequestMatchersInternal(List<RequestMatcher> requestMatchers)
- Subclasses should implement this method for returning the object that is chained to the creation of the
RequestMatcher
instances.
- Parameters:
requestMatchers
- the RequestMatcher
instances that were created
- Returns:
- the chained Object for the subclass which allows association of something else to the
RequestMatcher