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.
|
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 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.
Typically is used for the values from the SecuredChannelsendAccess - The send access values.receiveAccess - The receive access values.public Collection<org.springframework.security.access.ConfigAttribute> getConfigAttributesForSend()
getConfigAttributesForSend in interface ChannelAccessPolicypublic Collection<org.springframework.security.access.ConfigAttribute> getConfigAttributesForReceive()
getConfigAttributesForReceive in interface ChannelAccessPolicy