org.springframework.integration.security.channel
Class ChannelAccessPolicy

java.lang.Object
  extended by org.springframework.integration.security.channel.ChannelAccessPolicy

public class ChannelAccessPolicy
extends java.lang.Object

Creates the ConfigAttributeDefinitions for secured channel send and receive operations based on simple String values.

Author:
Mark Fisher

Constructor Summary
ChannelAccessPolicy(java.lang.String sendAccess, java.lang.String receiveAccess)
          Create an access policy instance.
 
Method Summary
 org.springframework.security.ConfigAttributeDefinition getConfigAttributeDefinitionForReceive()
           
 org.springframework.security.ConfigAttributeDefinition getConfigAttributeDefinitionForSend()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChannelAccessPolicy

public ChannelAccessPolicy(java.lang.String sendAccess,
                           java.lang.String receiveAccess)
Create an access policy instance. The provided 'sendAccess' and 'receiveAccess' values may be a single String or a comma-delimited list of values. All whitespace will be trimmed. A null value indicates that the policy does not apply for either send or receive access type. At most one of the values may be null.

Method Detail

getConfigAttributeDefinitionForSend

public org.springframework.security.ConfigAttributeDefinition getConfigAttributeDefinitionForSend()

getConfigAttributeDefinitionForReceive

public org.springframework.security.ConfigAttributeDefinition getConfigAttributeDefinitionForReceive()