Class AbstractConfigAttributeRequestMatcherRegistry<C>
- java.lang.Object
-
- org.springframework.security.config.annotation.web.AbstractRequestMatcherRegistry<C>
-
- org.springframework.security.config.annotation.web.configurers.AbstractConfigAttributeRequestMatcherRegistry<C>
-
- Type Parameters:
C- The object that is returned or Chained after creating the RequestMatcher
- Direct Known Subclasses:
AbstractInterceptUrlConfigurer.AbstractInterceptUrlRegistry,ChannelSecurityConfigurer.ChannelRequestMatcherRegistry
public abstract class AbstractConfigAttributeRequestMatcherRegistry<C> extends AbstractRequestMatcherRegistry<C>
A base class for registeringRequestMatcher's. For example, it might allow for specifying whichRequestMatcherrequire a certain level of authorization.- Since:
- 3.2
- See Also:
ChannelSecurityConfigurer,UrlAuthorizationConfigurer,ExpressionUrlAuthorizationConfigurer
-
-
Constructor Summary
Constructors Constructor Description AbstractConfigAttributeRequestMatcherRegistry()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected CchainRequestMatchers(java.util.List<org.springframework.security.web.util.matcher.RequestMatcher> requestMatchers)Marks theRequestMatcher's as unmapped and then callschainRequestMatchersInternal(List).protected abstract CchainRequestMatchersInternal(java.util.List<org.springframework.security.web.util.matcher.RequestMatcher> requestMatchers)Subclasses should implement this method for returning the object that is chained to the creation of theRequestMatcherinstances.-
Methods inherited from class org.springframework.security.config.annotation.web.AbstractRequestMatcherRegistry
antMatchers, antMatchers, antMatchers, anyRequest, createMvcMatchers, dispatcherTypeMatchers, dispatcherTypeMatchers, getApplicationContext, mvcMatchers, mvcMatchers, regexMatchers, regexMatchers, requestMatchers, setApplicationContext
-
-
-
-
Method Detail
-
chainRequestMatchers
protected final C chainRequestMatchers(java.util.List<org.springframework.security.web.util.matcher.RequestMatcher> requestMatchers)
Marks theRequestMatcher's as unmapped and then callschainRequestMatchersInternal(List).- Specified by:
chainRequestMatchersin classAbstractRequestMatcherRegistry<C>- Parameters:
requestMatchers- theRequestMatcherinstances that were created- Returns:
- the chained Object for the subclass which allows association of something
else to the
RequestMatcher
-
chainRequestMatchersInternal
protected abstract C chainRequestMatchersInternal(java.util.List<org.springframework.security.web.util.matcher.RequestMatcher> requestMatchers)
Subclasses should implement this method for returning the object that is chained to the creation of theRequestMatcherinstances.- Parameters:
requestMatchers- theRequestMatcherinstances that were created- Returns:
- the chained Object for the subclass which allows association of something
else to the
RequestMatcher
-
-