public final class ChannelSecurityConfigurer.ChannelRequestMatcherRegistry extends AbstractConfigAttributeRequestMatcherRegistry<ChannelSecurityConfigurer.RequiresChannelUrl>
Modifier and Type | Method and Description |
---|---|
H |
and()
Return the
SecurityBuilder when done using the
SecurityConfigurer . |
protected ChannelSecurityConfigurer.RequiresChannelUrl |
chainRequestMatchersInternal(java.util.List<RequestMatcher> requestMatchers)
Subclasses should implement this method for returning the object that is chained to
the creation of the
RequestMatcher instances. |
ChannelSecurityConfigurer.ChannelRequestMatcherRegistry |
channelProcessors(java.util.List<ChannelProcessor> channelProcessors)
Sets the
ChannelProcessor instances to use in
ChannelDecisionManagerImpl |
ChannelSecurityConfigurer.MvcMatchersRequiresChannelUrl |
mvcMatchers(org.springframework.http.HttpMethod method,
java.lang.String... mvcPatterns)
Maps an
MvcRequestMatcher that also specifies a specific HttpMethod
to match on. |
ChannelSecurityConfigurer.MvcMatchersRequiresChannelUrl |
mvcMatchers(java.lang.String... patterns)
Maps an
MvcRequestMatcher that does not care which HttpMethod is
used. |
ChannelSecurityConfigurer.ChannelRequestMatcherRegistry |
withObjectPostProcessor(ObjectPostProcessor<?> objectPostProcessor)
Adds an
ObjectPostProcessor for this class. |
chainRequestMatchers
antMatchers, antMatchers, antMatchers, anyRequest, createMvcMatchers, getApplicationContext, regexMatchers, regexMatchers, requestMatchers, setApplicationContext
public ChannelSecurityConfigurer.MvcMatchersRequiresChannelUrl mvcMatchers(org.springframework.http.HttpMethod method, java.lang.String... mvcPatterns)
AbstractRequestMatcherRegistry
Maps an MvcRequestMatcher
that also specifies a specific HttpMethod
to match on. This matcher will use the same rules that Spring MVC uses for
matching. For example, often times a mapping of the path "/path" will match on
"/path", "/path/", "/path.html", etc.
If the current request will not be processed by Spring MVC, a reasonable default using the pattern as a ant pattern will be used.
mvcMatchers
in class AbstractRequestMatcherRegistry<ChannelSecurityConfigurer.RequiresChannelUrl>
method
- the HTTP method to match onmvcPatterns
- the patterns to match on. The rules for matching are defined by
Spring MVCRequestMatcher
.public ChannelSecurityConfigurer.MvcMatchersRequiresChannelUrl mvcMatchers(java.lang.String... patterns)
AbstractRequestMatcherRegistry
Maps an MvcRequestMatcher
that does not care which HttpMethod
is
used. This matcher will use the same rules that Spring MVC uses for matching. For
example, often times a mapping of the path "/path" will match on "/path", "/path/",
"/path.html", etc.
If the current request will not be processed by Spring MVC, a reasonable default using the pattern as a ant pattern will be used.
mvcMatchers
in class AbstractRequestMatcherRegistry<ChannelSecurityConfigurer.RequiresChannelUrl>
patterns
- the patterns to match on. The rules for matching are defined by
Spring MVCRequestMatcher
.protected ChannelSecurityConfigurer.RequiresChannelUrl chainRequestMatchersInternal(java.util.List<RequestMatcher> requestMatchers)
AbstractConfigAttributeRequestMatcherRegistry
RequestMatcher
instances.chainRequestMatchersInternal
in class AbstractConfigAttributeRequestMatcherRegistry<ChannelSecurityConfigurer.RequiresChannelUrl>
requestMatchers
- the RequestMatcher
instances that were createdRequestMatcher
public ChannelSecurityConfigurer.ChannelRequestMatcherRegistry withObjectPostProcessor(ObjectPostProcessor<?> objectPostProcessor)
ObjectPostProcessor
for this class.objectPostProcessor
- ChannelSecurityConfigurer
for further customizationspublic ChannelSecurityConfigurer.ChannelRequestMatcherRegistry channelProcessors(java.util.List<ChannelProcessor> channelProcessors)
ChannelProcessor
instances to use in
ChannelDecisionManagerImpl
channelProcessors
- ChannelSecurityConfigurer
for further customizationspublic H and()
SecurityBuilder
when done using the
SecurityConfigurer
. This is useful for method chaining.HttpSecurityBuilder
that is being configured