Modifier and Type | Method and Description |
---|---|
C |
AbstractRequestMatcherRegistry.requestMatchers(RequestMatcher... requestMatchers)
Associates a list of
RequestMatcher instances with the AbstractConfigAttributeRequestMatcherRegistry |
Modifier and Type | Method and Description |
---|---|
protected abstract C |
AbstractRequestMatcherRegistry.chainRequestMatchers(List<RequestMatcher> requestMatchers)
Subclasses should implement this method for returning the object that is chained to the creation of the
RequestMatcher instances. |
Modifier and Type | Method and Description |
---|---|
HttpSecurity |
HttpSecurity.requestMatcher(RequestMatcher requestMatcher)
Allows configuring the
HttpSecurity to only be invoked when
matching the provided RequestMatcher . |
Modifier and Type | Method and Description |
---|---|
protected WebSecurity.IgnoredRequestConfigurer |
WebSecurity.IgnoredRequestConfigurer.chainRequestMatchers(List<RequestMatcher> requestMatchers) |
protected HttpSecurity.RequestMatcherConfigurer |
HttpSecurity.RequestMatcherConfigurer.chainRequestMatchers(List<RequestMatcher> requestMatchers) |
Modifier and Type | Method and Description |
---|---|
protected abstract RequestMatcher |
AbstractAuthenticationFilterConfigurer.createLoginProcessingUrlMatcher(String loginProcessingUrl)
Create the
RequestMatcher given a loginProcessingUrl |
protected RequestMatcher |
FormLoginConfigurer.createLoginProcessingUrlMatcher(String loginProcessingUrl) |
Modifier and Type | Method and Description |
---|---|
ExceptionHandlingConfigurer<H> |
ExceptionHandlingConfigurer.defaultAuthenticationEntryPointFor(AuthenticationEntryPoint entryPoint,
RequestMatcher preferredMatcher)
Sets a default
AuthenticationEntryPoint to be used which prefers
being invoked for the provided RequestMatcher . |
LogoutConfigurer<H> |
LogoutConfigurer.logoutRequestMatcher(RequestMatcher logoutRequestMatcher)
The RequestMatcher that triggers log out to occur.
|
CsrfConfigurer<H> |
CsrfConfigurer.requireCsrfProtectionMatcher(RequestMatcher requireCsrfProtectionMatcher)
Specify the
RequestMatcher to use for determining when CSRF
should be applied. |
Modifier and Type | Method and Description |
---|---|
protected C |
AbstractConfigAttributeRequestMatcherRegistry.chainRequestMatchers(List<RequestMatcher> requestMatchers)
Marks the
RequestMatcher 's as unmapped and then calls AbstractConfigAttributeRequestMatcherRegistry.chainRequestMatchersInternal(List) . |
protected ChannelSecurityConfigurer.RequiresChannelUrl |
ChannelSecurityConfigurer.ChannelRequestMatcherRegistry.chainRequestMatchersInternal(List<RequestMatcher> requestMatchers) |
protected ExpressionUrlAuthorizationConfigurer.AuthorizedUrl |
ExpressionUrlAuthorizationConfigurer.ExpressionInterceptUrlRegistry.chainRequestMatchersInternal(List<RequestMatcher> requestMatchers) |
protected abstract C |
AbstractConfigAttributeRequestMatcherRegistry.chainRequestMatchersInternal(List<RequestMatcher> requestMatchers)
Subclasses should implement this method for returning the object that is chained to the creation of the
RequestMatcher instances. |
protected UrlAuthorizationConfigurer.AuthorizedUrl |
UrlAuthorizationConfigurer.StandardInterceptUrlRegistry.chainRequestMatchersInternal(List<RequestMatcher> requestMatchers) |
Modifier and Type | Method and Description |
---|---|
protected RequestMatcher |
OpenIDLoginConfigurer.createLoginProcessingUrlMatcher(String loginProcessingUrl) |
Modifier and Type | Method and Description |
---|---|
RequestMatcher |
DefaultSecurityFilterChain.getRequestMatcher() |
Modifier and Type | Method and Description |
---|---|
Map<RequestMatcher,List<javax.servlet.Filter>> |
FilterChainProxy.getFilterChainMap()
Deprecated.
use the list of
SecurityFilterChain s instead |
Modifier and Type | Method and Description |
---|---|
void |
FilterChainProxy.setFilterChainMap(Map<RequestMatcher,List<javax.servlet.Filter>> filterChainMap)
Deprecated.
Use the constructor which takes a
List<SecurityFilterChain> instead. |
Constructor and Description |
---|
DefaultSecurityFilterChain(RequestMatcher requestMatcher,
javax.servlet.Filter... filters) |
DefaultSecurityFilterChain(RequestMatcher requestMatcher,
List<javax.servlet.Filter> filters) |
Constructor and Description |
---|
ExpressionBasedFilterInvocationSecurityMetadataSource(LinkedHashMap<RequestMatcher,Collection<ConfigAttribute>> requestMap,
SecurityExpressionHandler<FilterInvocation> expressionHandler) |
Constructor and Description |
---|
DefaultFilterInvocationSecurityMetadataSource(LinkedHashMap<RequestMatcher,Collection<ConfigAttribute>> requestMap)
Sets the internal request map from the supplied map.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractAuthenticationProcessingFilter.setRequiresAuthenticationRequestMatcher(RequestMatcher requestMatcher) |
Constructor and Description |
---|
AbstractAuthenticationProcessingFilter(RequestMatcher requiresAuthenticationRequestMatcher)
Creates a new instance
|
Constructor and Description |
---|
DelegatingAuthenticationEntryPoint(LinkedHashMap<RequestMatcher,AuthenticationEntryPoint> entryPoints) |
Modifier and Type | Method and Description |
---|---|
void |
LogoutFilter.setLogoutRequestMatcher(RequestMatcher logoutRequestMatcher) |
Modifier and Type | Method and Description |
---|---|
void |
CsrfFilter.setRequireCsrfProtectionMatcher(RequestMatcher requireCsrfProtectionMatcher)
Specifies a
RequestMatcher that is used to determine if CSRF
protection should be applied. |
Modifier and Type | Method and Description |
---|---|
void |
HstsHeaderWriter.setRequestMatcher(RequestMatcher requestMatcher)
Sets the
RequestMatcher used to determine if the
"Strict-Transport-Security" should be added. |
Constructor and Description |
---|
DelegatingRequestMatcherHeaderWriter(RequestMatcher requestMatcher,
HeaderWriter delegateHeaderWriter)
Creates a new instance
|
HstsHeaderWriter(RequestMatcher requestMatcher,
long maxAgeInSeconds,
boolean includeSubDomains)
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
void |
HttpSessionRequestCache.setRequestMatcher(RequestMatcher requestMatcher)
Allows selective use of saved requests for a subset of requests.
|
Modifier and Type | Interface and Description |
---|---|
interface |
RequestMatcher
Deprecated.
use
RequestMatcher |
Modifier and Type | Class and Description |
---|---|
class |
AntPathRequestMatcher
Deprecated.
|
class |
AnyRequestMatcher
Deprecated.
use org.springframework.security.web.util.matcher.AnyRequestMatcher.INSTANCE instead
|
class |
ELRequestMatcher
Deprecated.
Use org.springframework.security.web.util.matcher.ELRequestMatcher
|
class |
IpAddressMatcher
Deprecated.
use
IpAddressMatcher |
class |
RegexRequestMatcher
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
AndRequestMatcher
RequestMatcher that will return true if all of the passed in
RequestMatcher instances match. |
class |
MediaTypeRequestMatcher
Allows matching
HttpServletRequest based upon the MediaType 's
resolved from a ContentNegotiationStrategy . |
class |
NegatedRequestMatcher
A
RequestMatcher that will negate the RequestMatcher passed
in. |
class |
OrRequestMatcher
RequestMatcher that will return true if any of the passed in
RequestMatcher instances match. |
class |
RequestHeaderRequestMatcher
A
RequestMatcher that can be used to match request that contain a
header with an expected header name and an expected value. |
Modifier and Type | Field and Description |
---|---|
static RequestMatcher |
AnyRequestMatcher.INSTANCE |
Constructor and Description |
---|
AndRequestMatcher(RequestMatcher... requestMatchers)
Creates a new instance
|
NegatedRequestMatcher(RequestMatcher requestMatcher)
Creates a new instance
|
OrRequestMatcher(RequestMatcher... requestMatchers)
Creates a new instance
|
Constructor and Description |
---|
AndRequestMatcher(List<RequestMatcher> requestMatchers)
Creates a new instance
|
OrRequestMatcher(List<RequestMatcher> requestMatchers)
Creates a new instance
|
Copyright © 2019. All rights reserved.