public interface ChannelProcessor
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.
| Modifier and Type | Method and Description |
|---|---|
void |
decide(FilterInvocation invocation,
ConfigAttributeDefinition config)
Decided whether the presented
FilterInvocation provides the appropriate level of channel
security based on the requested ConfigAttributeDefinition. |
boolean |
supports(ConfigAttribute attribute)
Indicates whether this
ChannelProcessor is able to process the passed
ConfigAttribute. |
void decide(FilterInvocation invocation, ConfigAttributeDefinition config) throws java.io.IOException, javax.servlet.ServletException
FilterInvocation provides the appropriate level of channel
security based on the requested ConfigAttributeDefinition.invocation - DOCUMENT ME!config - DOCUMENT ME!java.io.IOException - DOCUMENT ME!javax.servlet.ServletException - DOCUMENT ME!boolean supports(ConfigAttribute attribute)
ChannelProcessor is able to process the passed
ConfigAttribute.This allows the ChannelProcessingFilter to check every
configuration attribute can be consumed by the configured ChannelDecisionManager.
attribute - a configuration attribute that has been configured against the
ChannelProcessingFilterChannelProcessor can support the passed configuration attribute