org.springframework.security.config.annotation.web.builders
Class WebSecurity.IgnoredRequestConfigurer

java.lang.Object
  extended by org.springframework.security.config.annotation.SecurityConfigurerAdapter<O,B>
      extended by org.springframework.security.config.annotation.web.AbstractRequestMatcherConfigurer<WebSecurity,WebSecurity.IgnoredRequestConfigurer,javax.servlet.Filter>
          extended by org.springframework.security.config.annotation.web.builders.WebSecurity.IgnoredRequestConfigurer
All Implemented Interfaces:
SecurityConfigurer<javax.servlet.Filter,WebSecurity>
Enclosing class:
WebSecurity

public final class WebSecurity.IgnoredRequestConfigurer
extends AbstractRequestMatcherConfigurer<WebSecurity,WebSecurity.IgnoredRequestConfigurer,javax.servlet.Filter>

Allows registering RequestMatcher instances that should be ignored by Spring Security.

Since:
3.2

Method Summary
 WebSecurity and()
          Returns the WebSecurity to be returned for chaining.
protected  WebSecurity.IgnoredRequestConfigurer chainRequestMatchers(List<RequestMatcher> requestMatchers)
          Subclasses should implement this method for returning the object that is chained to the creation of the RequestMatcher instances.
 
Methods inherited from class org.springframework.security.config.annotation.web.AbstractRequestMatcherConfigurer
antMatchers, antMatchers, anyRequest, regexMatchers, regexMatchers, requestMatchers
 
Methods inherited from class org.springframework.security.config.annotation.SecurityConfigurerAdapter
addObjectPostProcessor, configure, getBuilder, init, postProcess, setBuilder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

chainRequestMatchers

protected WebSecurity.IgnoredRequestConfigurer chainRequestMatchers(List<RequestMatcher> requestMatchers)
Description copied from class: AbstractRequestMatcherConfigurer
Subclasses should implement this method for returning the object that is chained to the creation of the RequestMatcher instances.

Specified by:
chainRequestMatchers in class AbstractRequestMatcherConfigurer<WebSecurity,WebSecurity.IgnoredRequestConfigurer,javax.servlet.Filter>
Parameters:
requestMatchers - the RequestMatcher instances that were created
Returns:
the chained Object for the subclass which allows association of something else to the RequestMatcher

and

public WebSecurity and()
Returns the WebSecurity to be returned for chaining.

Overrides:
and in class SecurityConfigurerAdapter<javax.servlet.Filter,WebSecurity>
Returns: