Interface ChannelDecisionManager
-
- All Known Implementing Classes:
ChannelDecisionManagerImpl
public interface ChannelDecisionManagerDecides whether a web channel provides sufficient security.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddecide(FilterInvocation invocation, java.util.Collection<ConfigAttribute> config)Decided whether the presentedFilterInvocationprovides the appropriate level of channel security based on the requested list of ConfigAttributes.booleansupports(ConfigAttribute attribute)Indicates whether thisChannelDecisionManageris able to process the passedConfigAttribute.
-
-
-
Method Detail
-
decide
void decide(FilterInvocation invocation, java.util.Collection<ConfigAttribute> config) throws java.io.IOException, javax.servlet.ServletException
Decided whether the presentedFilterInvocationprovides the appropriate level of channel security based on the requested list of ConfigAttributes.- Throws:
java.io.IOExceptionjavax.servlet.ServletException
-
supports
boolean supports(ConfigAttribute attribute)
Indicates whether thisChannelDecisionManageris 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 theChannelProcessingFilter- Returns:
- true if this
ChannelDecisionManagercan support the passed configuration attribute
-
-