Class ChannelSecurityConfigurer.ChannelRequestMatcherRegistry
java.lang.Object
org.springframework.security.config.annotation.web.AbstractRequestMatcherRegistry<C>
org.springframework.security.config.annotation.web.configurers.AbstractConfigAttributeRequestMatcherRegistry<ChannelSecurityConfigurer<H>.RequiresChannelUrl>
org.springframework.security.config.annotation.web.configurers.ChannelSecurityConfigurer.ChannelRequestMatcherRegistry
- Enclosing class:
- ChannelSecurityConfigurer<H extends HttpSecurityBuilder<H>>
public final class ChannelSecurityConfigurer.ChannelRequestMatcherRegistry
extends AbstractConfigAttributeRequestMatcherRegistry<ChannelSecurityConfigurer<H>.RequiresChannelUrl>
-
Method Summary
Modifier and TypeMethodDescriptionand()
Return theSecurityBuilder
when done using theSecurityConfigurer
.protected ChannelSecurityConfigurer<H>.RequiresChannelUrl
chainRequestMatchersInternal
(List<RequestMatcher> requestMatchers) Subclasses should implement this method for returning the object that is chained to the creation of theRequestMatcher
instances.channelProcessors
(List<ChannelProcessor> channelProcessors) Sets theChannelProcessor
instances to use inChannelDecisionManagerImpl
redirectStrategy
(RedirectStrategy redirectStrategy) withObjectPostProcessor
(ObjectPostProcessor<?> objectPostProcessor) Adds anObjectPostProcessor
for this class.Methods inherited from class org.springframework.security.config.annotation.web.configurers.AbstractConfigAttributeRequestMatcherRegistry
chainRequestMatchers
Methods inherited from class org.springframework.security.config.annotation.web.AbstractRequestMatcherRegistry
anyRequest, createMvcMatchers, dispatcherTypeMatchers, dispatcherTypeMatchers, getApplicationContext, requestMatchers, requestMatchers, requestMatchers, requestMatchers, setApplicationContext
-
Method Details
-
chainRequestMatchersInternal
protected ChannelSecurityConfigurer<H>.RequiresChannelUrl chainRequestMatchersInternal(List<RequestMatcher> requestMatchers) Description copied from class:AbstractConfigAttributeRequestMatcherRegistry
Subclasses should implement this method for returning the object that is chained to the creation of theRequestMatcher
instances.- Specified by:
chainRequestMatchersInternal
in classAbstractConfigAttributeRequestMatcherRegistry<ChannelSecurityConfigurer<H extends HttpSecurityBuilder<H>>.RequiresChannelUrl>
- Parameters:
requestMatchers
- theRequestMatcher
instances that were created- Returns:
- the chained Object for the subclass which allows association of something
else to the
RequestMatcher
-
withObjectPostProcessor
public ChannelSecurityConfigurer<H>.ChannelRequestMatcherRegistry withObjectPostProcessor(ObjectPostProcessor<?> objectPostProcessor) Adds anObjectPostProcessor
for this class.- Parameters:
objectPostProcessor
-- Returns:
- the
ChannelSecurityConfigurer
for further customizations
-
channelProcessors
public ChannelSecurityConfigurer<H>.ChannelRequestMatcherRegistry channelProcessors(List<ChannelProcessor> channelProcessors) Sets theChannelProcessor
instances to use inChannelDecisionManagerImpl
- Parameters:
channelProcessors
-- Returns:
- the
ChannelSecurityConfigurer
for further customizations
-
redirectStrategy
public ChannelSecurityConfigurer<H>.ChannelRequestMatcherRegistry redirectStrategy(RedirectStrategy redirectStrategy) - Parameters:
redirectStrategy
-- Returns:
- the
ChannelSecurityConfigurer
for further customizations
-
and
Return theSecurityBuilder
when done using theSecurityConfigurer
. This is useful for method chaining.- Returns:
- the type of
HttpSecurityBuilder
that is being configured
-