Spring Integration

org.springframework.integration.security.channel
Class DefaultChannelAccessPolicy

java.lang.Object
  extended by org.springframework.integration.security.channel.DefaultChannelAccessPolicy
All Implemented Interfaces:
ChannelAccessPolicy

public class DefaultChannelAccessPolicy
extends Object
implements ChannelAccessPolicy

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

Author:
Mark Fisher, Oleg Zhurakousky

Constructor Summary
DefaultChannelAccessPolicy(String sendAccess, String receiveAccess)
          Create an access policy instance.
 
Method Summary
 Collection<org.springframework.security.access.ConfigAttribute> getConfigAttributesForReceive()
           
 Collection<org.springframework.security.access.ConfigAttribute> getConfigAttributesForSend()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultChannelAccessPolicy

public DefaultChannelAccessPolicy(String sendAccess,
                                  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

getConfigAttributesForSend

public Collection<org.springframework.security.access.ConfigAttribute> getConfigAttributesForSend()
Specified by:
getConfigAttributesForSend in interface ChannelAccessPolicy

getConfigAttributesForReceive

public Collection<org.springframework.security.access.ConfigAttribute> getConfigAttributesForReceive()
Specified by:
getConfigAttributesForReceive in interface ChannelAccessPolicy

Spring Integration

Copyright © 2010. All Rights Reserved.