Interface ChannelDecisionManager
- All Known Implementing Classes:
ChannelDecisionManagerImpl
public interface ChannelDecisionManager
Decides whether a web channel provides sufficient security.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
decide
(FilterInvocation invocation, Collection<ConfigAttribute> config) Decided whether the presentedFilterInvocation
provides the appropriate level of channel security based on the requested list of ConfigAttributes.boolean
supports
(ConfigAttribute attribute) Indicates whether thisChannelDecisionManager
is able to process the passedConfigAttribute
.
-
Method Details
-
decide
void decide(FilterInvocation invocation, Collection<ConfigAttribute> config) throws IOException, jakarta.servlet.ServletException Decided whether the presentedFilterInvocation
provides the appropriate level of channel security based on the requested list of ConfigAttributes.- Throws:
IOException
jakarta.servlet.ServletException
-
supports
Indicates whether thisChannelDecisionManager
is able to process the passedConfigAttribute
.This allows the
ChannelProcessingFilter
to check every configuration attribute can be consumed by the configuredChannelDecisionManager
.- Parameters:
attribute
- a configuration attribute that has been configured against theChannelProcessingFilter
- Returns:
- true if this
ChannelDecisionManager
can support the passed configuration attribute
-