public interface

ChannelProcessor

org.springframework.security.web.access.channel.ChannelProcessor
Known Indirect Subclasses

Class Overview

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.

Summary

Public Methods
abstract void decide(FilterInvocation invocation, Collection<ConfigAttribute> config)
Decided whether the presented FilterInvocation provides the appropriate level of channel security based on the requested list of ConfigAttributes.
abstract boolean supports(ConfigAttribute attribute)
Indicates whether this ChannelProcessor is able to process the passed ConfigAttribute.

Public Methods

public abstract void decide (FilterInvocation invocation, Collection<ConfigAttribute> config)

Decided whether the presented FilterInvocation provides the appropriate level of channel security based on the requested list of ConfigAttributes.

Throws
IOException
ServletException

public abstract boolean supports (ConfigAttribute attribute)

Indicates whether this ChannelProcessor is able to process the passed ConfigAttribute.

This allows the ChannelProcessingFilter to check every configuration attribute can be consumed by the configured ChannelDecisionManager.

Parameters
attribute a configuration attribute that has been configured against the ChannelProcessingFilter.
Returns
  • true if this ChannelProcessor can support the passed configuration attribute