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 theSecurityBuilderwhen done using theSecurityConfigurer.protected ChannelSecurityConfigurer<H>.RequiresChannelUrlchainRequestMatchersInternal(List<RequestMatcher> requestMatchers) Subclasses should implement this method for returning the object that is chained to the creation of theRequestMatcherinstances.channelProcessors(List<ChannelProcessor> channelProcessors) Sets theChannelProcessorinstances to use inChannelDecisionManagerImplredirectStrategy(RedirectStrategy redirectStrategy) withObjectPostProcessor(ObjectPostProcessor<?> objectPostProcessor) Adds anObjectPostProcessorfor this class.Methods inherited from class org.springframework.security.config.annotation.web.configurers.AbstractConfigAttributeRequestMatcherRegistry
chainRequestMatchersMethods 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:AbstractConfigAttributeRequestMatcherRegistrySubclasses should implement this method for returning the object that is chained to the creation of theRequestMatcherinstances.- Specified by:
chainRequestMatchersInternalin classAbstractConfigAttributeRequestMatcherRegistry<ChannelSecurityConfigurer<H extends HttpSecurityBuilder<H>>.RequiresChannelUrl>- Parameters:
requestMatchers- theRequestMatcherinstances 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 anObjectPostProcessorfor this class.- Parameters:
objectPostProcessor-- Returns:
- the
ChannelSecurityConfigurerfor further customizations
-
channelProcessors
public ChannelSecurityConfigurer<H>.ChannelRequestMatcherRegistry channelProcessors(List<ChannelProcessor> channelProcessors) Sets theChannelProcessorinstances to use inChannelDecisionManagerImpl- Parameters:
channelProcessors-- Returns:
- the
ChannelSecurityConfigurerfor further customizations
-
redirectStrategy
public ChannelSecurityConfigurer<H>.ChannelRequestMatcherRegistry redirectStrategy(RedirectStrategy redirectStrategy) - Parameters:
redirectStrategy-- Returns:
- the
ChannelSecurityConfigurerfor further customizations
-
and
Return theSecurityBuilderwhen done using theSecurityConfigurer. This is useful for method chaining.- Returns:
- the type of
HttpSecurityBuilderthat is being configured
-