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