Class WebSecurity.IgnoredRequestConfigurer
java.lang.Object
org.springframework.security.config.annotation.web.AbstractRequestMatcherRegistry<WebSecurity.IgnoredRequestConfigurer>
org.springframework.security.config.annotation.web.builders.WebSecurity.IgnoredRequestConfigurer
- Enclosing class:
- WebSecurity
public class WebSecurity.IgnoredRequestConfigurer
extends AbstractRequestMatcherRegistry<WebSecurity.IgnoredRequestConfigurer>
Allows registering
RequestMatcher instances that should be ignored by
Spring Security.- Since:
- 3.2
-
Method Summary
Modifier and TypeMethodDescriptionand()Returns theWebSecurityto be returned for chaining.protected WebSecurity.IgnoredRequestConfigurerchainRequestMatchers(List<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
anyRequest, createMvcMatchers, dispatcherTypeMatchers, dispatcherTypeMatchers, getApplicationContext, requestMatchers, requestMatchers, requestMatchers, requestMatchers, setApplicationContext
-
Method Details
-
chainRequestMatchers
protected WebSecurity.IgnoredRequestConfigurer chainRequestMatchers(List<RequestMatcher> requestMatchers) Description copied from class:AbstractRequestMatcherRegistrySubclasses should implement this method for returning the object that is chained to the creation of theRequestMatcherinstances.- Specified by:
chainRequestMatchersin classAbstractRequestMatcherRegistry<WebSecurity.IgnoredRequestConfigurer>- Parameters:
requestMatchers- theRequestMatcherinstances that were created- Returns:
- the chained Object for the subclass which allows association of something
else to the
RequestMatcher
-
and
Returns theWebSecurityto be returned for chaining.
-