Spring Security Framework

org.springframework.security.securechannel
Interface ChannelDecisionManager

All Known Implementing Classes:
ChannelDecisionManagerImpl

public interface ChannelDecisionManager

Decides whether a web channel provides sufficient security.

Version:
$Id$
Author:
Ben Alex

Method Summary
 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 ChannelDecisionManager is able to process the passed ConfigAttribute.
 

Method Detail

decide

void decide(FilterInvocation invocation,
            ConfigAttributeDefinition config)
            throws IOException,
                   ServletException
Decided whether the presented FilterInvocation provides the appropriate level of channel security based on the requested ConfigAttributeDefinition.

Parameters:
invocation - DOCUMENT ME!
config - DOCUMENT ME!
Throws:
IOException - DOCUMENT ME!
ServletException - DOCUMENT ME!

supports

boolean supports(ConfigAttribute attribute)
Indicates whether this ChannelDecisionManager 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 ChannelDecisionManager can support the passed configuration attribute

Spring Security Framework

Copyright © 2004-2010 SpringSource, Inc. All Rights Reserved.