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>>
@Deprecated
public final class ChannelSecurityConfigurer.ChannelRequestMatcherRegistry
extends AbstractConfigAttributeRequestMatcherRegistry<ChannelSecurityConfigurer<H>.RequiresChannelUrl>
Deprecated.
no replacement planned
-
Method Summary
Modifier and TypeMethodDescriptionand()Deprecated, for removal: This API element is subject to removal in a future version.For removal in 7.0.protected ChannelSecurityConfigurer<H>.RequiresChannelUrlchainRequestMatchersInternal(List<RequestMatcher> requestMatchers) Deprecated.Subclasses should implement this method for returning the object that is chained to the creation of theRequestMatcherinstances.channelProcessors(List<ChannelProcessor> channelProcessors) Deprecated.Sets theChannelProcessorinstances to use inChannelDecisionManagerImplredirectStrategy(RedirectStrategy redirectStrategy) Deprecated.withObjectPostProcessor(ObjectPostProcessor<?> objectPostProcessor) Deprecated, for removal: This API element is subject to removal in a future version.withObjectPostProcessor(ObjectPostProcessor<?> objectPostProcessor) Deprecated.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) Deprecated.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) Deprecated.Adds anObjectPostProcessorfor this class.- Parameters:
objectPostProcessor-- Returns:
- the
ChannelSecurityConfigurerfor further customizations
-
withObjectPostProcessor
@Deprecated(since="6.4", forRemoval=true) public ChannelSecurityConfigurer<H>.ChannelRequestMatcherRegistry withObjectPostProcessor(ObjectPostProcessor<?> objectPostProcessor) Deprecated, for removal: This API element is subject to removal in a future version. -
channelProcessors
public ChannelSecurityConfigurer<H>.ChannelRequestMatcherRegistry channelProcessors(List<ChannelProcessor> channelProcessors) Deprecated.Sets theChannelProcessorinstances to use inChannelDecisionManagerImpl- Parameters:
channelProcessors-- Returns:
- the
ChannelSecurityConfigurerfor further customizations
-
redirectStrategy
public ChannelSecurityConfigurer<H>.ChannelRequestMatcherRegistry redirectStrategy(RedirectStrategy redirectStrategy) Deprecated.- Parameters:
redirectStrategy-- Returns:
- the
ChannelSecurityConfigurerfor further customizations
-
and
Deprecated, for removal: This API element is subject to removal in a future version.For removal in 7.0. UseHttpSecurity.requiresChannel(Customizer)insteadReturn theSecurityBuilderwhen done using theSecurityConfigurer. This is useful for method chaining.- Returns:
- the type of
HttpSecurityBuilderthat is being configured
-