Interface ChannelProcessor
-
- All Known Implementing Classes:
InsecureChannelProcessor,SecureChannelProcessor
public interface ChannelProcessorDecides whether a web channel meets a specific security condition.ChannelProcessorimplementations are iterated by theChannelDecisionManagerImpl.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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddecide(FilterInvocation invocation, java.util.Collection<org.springframework.security.access.ConfigAttribute> config)Decided whether the presentedFilterInvocationprovides the appropriate level of channel security based on the requested list of ConfigAttributes.booleansupports(org.springframework.security.access.ConfigAttribute attribute)Indicates whether thisChannelProcessoris able to process the passedConfigAttribute.
-
-
-
Method Detail
-
decide
void decide(FilterInvocation invocation, java.util.Collection<org.springframework.security.access.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(org.springframework.security.access.ConfigAttribute attribute)
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
-
-