Interface ChannelProcessor
- All Known Implementing Classes:
InsecureChannelProcessor,SecureChannelProcessor
Deprecated.
Decides whether a web channel meets a specific security condition.
ChannelProcessor implementations are iterated by the
ChannelDecisionManagerImpl.
If an implementation has an issue with the channel security, they should take action themselves. The callers of the implementation do not take any action.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddecide(FilterInvocation invocation, Collection<ConfigAttribute> config) Deprecated.Decided whether the presentedFilterInvocationprovides the appropriate level of channel security based on the requested list of ConfigAttributes.booleansupports(ConfigAttribute attribute) Deprecated.Indicates whether thisChannelProcessoris able to process the passedConfigAttribute.
-
Method Details
-
decide
void decide(FilterInvocation invocation, Collection<ConfigAttribute> config) throws IOException, jakarta.servlet.ServletException Deprecated.Decided whether the presentedFilterInvocationprovides the appropriate level of channel security based on the requested list of ConfigAttributes.- Throws:
IOExceptionjakarta.servlet.ServletException
-
supports
Deprecated.Indicates whether thisChannelProcessoris able to process the passedConfigAttribute.This allows the
ChannelProcessingFilterto check every configuration attribute can be consumed by the configuredChannelDecisionManager.- 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