Class ChannelDecisionManagerImpl
java.lang.Object
org.springframework.security.web.access.channel.ChannelDecisionManagerImpl
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean,- ChannelDecisionManager
@Deprecated
@NullUnmarked
public class ChannelDecisionManagerImpl
extends Object
implements ChannelDecisionManager, org.springframework.beans.factory.InitializingBean
Deprecated.
Implementation of 
ChannelDecisionManager.
 
 Iterates through each configured ChannelProcessor. If a
 ChannelProcessor has any issue with the security of the request, it should
 cause a redirect, exception or whatever other action is appropriate for the
 ChannelProcessor implementation.
 
 Once any response is committed (ie a redirect is written to the response object), the
 ChannelDecisionManagerImpl will not iterate through any further
 ChannelProcessors.
 
The attribute "ANY_CHANNEL" if applied to a particular URL, the iteration through the channel processors will be skipped (see SEC-494, SEC-335).
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidDeprecated.voiddecide(FilterInvocation invocation, Collection<ConfigAttribute> config) Deprecated.Decided whether the presentedFilterInvocationprovides the appropriate level of channel security based on the requested list of ConfigAttributes.protected @Nullable List<ChannelProcessor>Deprecated.voidsetChannelProcessors(List<?> channelProcessors) Deprecated.booleansupports(ConfigAttribute attribute) Deprecated.Indicates whether thisChannelDecisionManageris able to process the passedConfigAttribute.
- 
Field Details- 
ANY_CHANNELDeprecated.- See Also:
 
 
- 
- 
Constructor Details- 
ChannelDecisionManagerImplpublic ChannelDecisionManagerImpl()Deprecated.
 
- 
- 
Method Details- 
afterPropertiesSetpublic void afterPropertiesSet()Deprecated.- Specified by:
- afterPropertiesSetin interface- org.springframework.beans.factory.InitializingBean
 
- 
decidepublic void decide(FilterInvocation invocation, Collection<ConfigAttribute> config) throws IOException, jakarta.servlet.ServletException Deprecated.Description copied from interface:ChannelDecisionManagerDecided whether the presentedFilterInvocationprovides the appropriate level of channel security based on the requested list of ConfigAttributes.- Specified by:
- decidein interface- ChannelDecisionManager
- Throws:
- IOException
- jakarta.servlet.ServletException
 
- 
getChannelProcessorsDeprecated.
- 
setChannelProcessorsDeprecated.
- 
supportsDeprecated.Description copied from interface:ChannelDecisionManagerIndicates whether thisChannelDecisionManageris able to process the passedConfigAttribute.This allows the ChannelProcessingFilterto check every configuration attribute can be consumed by the configuredChannelDecisionManager.- Specified by:
- supportsin interface- ChannelDecisionManager
- Parameters:
- attribute- a configuration attribute that has been configured against the- ChannelProcessingFilter
- Returns:
- true if this ChannelDecisionManagercan support the passed configuration attribute
 
 
- 
RequestMatcherfor any sophisticated decision-making