org.springframework.security.config.annotation.web.builders
Class HttpSecurity.RequestMatcherConfigurer
java.lang.Object
org.springframework.security.config.annotation.SecurityConfigurerAdapter<O,B>
org.springframework.security.config.annotation.web.AbstractRequestMatcherConfigurer<HttpSecurity,HttpSecurity.RequestMatcherConfigurer,DefaultSecurityFilterChain>
org.springframework.security.config.annotation.web.builders.HttpSecurity.RequestMatcherConfigurer
- All Implemented Interfaces:
- SecurityConfigurer<DefaultSecurityFilterChain,HttpSecurity>
- Enclosing class:
- HttpSecurity
public final class HttpSecurity.RequestMatcherConfigurer
- extends AbstractRequestMatcherConfigurer<HttpSecurity,HttpSecurity.RequestMatcherConfigurer,DefaultSecurityFilterChain>
Allows mapping HTTP requests that this HttpSecurity
will be used for
- Since:
- 3.2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
chainRequestMatchers
protected HttpSecurity.RequestMatcherConfigurer 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<HttpSecurity,HttpSecurity.RequestMatcherConfigurer,DefaultSecurityFilterChain>
- 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 HttpSecurity and()
- Return the
HttpSecurity
for further customizations
- Overrides:
and
in class SecurityConfigurerAdapter<DefaultSecurityFilterChain,HttpSecurity>
- Returns:
- the
HttpSecurity
for further customizations