public class DefaultChannelAccessPolicy extends java.lang.Object implements ChannelAccessPolicy
ConfigAttribute
s for secured channel
send and receive operations based on simple String values.Constructor and Description |
---|
DefaultChannelAccessPolicy(java.lang.String sendAccess,
java.lang.String receiveAccess)
Create an access policy instance.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<org.springframework.security.access.ConfigAttribute> |
getConfigAttributesForReceive() |
java.util.Collection<org.springframework.security.access.ConfigAttribute> |
getConfigAttributesForSend() |
public DefaultChannelAccessPolicy(java.lang.String sendAccess, java.lang.String receiveAccess)
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.sendAccess
- The send access value(s).receiveAccess
- The receive access value(s).public java.util.Collection<org.springframework.security.access.ConfigAttribute> getConfigAttributesForSend()
getConfigAttributesForSend
in interface ChannelAccessPolicy
public java.util.Collection<org.springframework.security.access.ConfigAttribute> getConfigAttributesForReceive()
getConfigAttributesForReceive
in interface ChannelAccessPolicy