Class SecureChannelProcessor
java.lang.Object
org.springframework.security.web.access.channel.SecureChannelProcessor
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean,- ChannelProcessor
@Deprecated
public class SecureChannelProcessor
extends Object
implements org.springframework.beans.factory.InitializingBean, ChannelProcessor
Deprecated.
Ensures channel security is active by review of
 
HttpServletRequest.isSecure() responses.
 
 The class responds to one case-sensitive keyword, getSecureKeyword(). If this
 keyword is detected, HttpServletRequest.isSecure() is used to determine
 the channel security offered. If channel security is not present, the configured
 ChannelEntryPoint is called. By default the entry point is
 RetryWithHttpsEntryPoint.
 
 The default secureKeyword is REQUIRES_SECURE_CHANNEL.
- 
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.Deprecated.Deprecated.voidsetEntryPoint(ChannelEntryPoint entryPoint) Deprecated.voidsetSecureKeyword(String secureKeyword) Deprecated.booleansupports(ConfigAttribute attribute) Deprecated.Indicates whether thisChannelProcessoris able to process the passedConfigAttribute.
- 
Constructor Details- 
SecureChannelProcessorpublic SecureChannelProcessor()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:ChannelProcessorDecided whether the presentedFilterInvocationprovides the appropriate level of channel security based on the requested list of ConfigAttributes.- Specified by:
- decidein interface- ChannelProcessor
- Throws:
- IOException
- jakarta.servlet.ServletException
 
- 
getEntryPointDeprecated.
- 
getSecureKeywordDeprecated.
- 
setEntryPointDeprecated.
- 
setSecureKeywordDeprecated.
- 
supportsDeprecated.Description copied from interface:ChannelProcessorIndicates whether thisChannelProcessoris able to process the passedConfigAttribute.This allows the ChannelProcessingFilterto check every configuration attribute can be consumed by the configuredChannelDecisionManager.- Specified by:
- supportsin interface- ChannelProcessor
- Parameters:
- attribute- a configuration attribute that has been configured against the ChannelProcessingFilter.
- Returns:
- true if this ChannelProcessorcan support the passed configuration attribute
 
 
- 
RequestMatcherfor any sophisticated decision-making