public class ChannelSecurityMetadataSource
extends java.lang.Object
implements org.springframework.security.access.SecurityMetadataSource
SecurityMetadataSource
implementation for secured MessageChannel
s.Constructor and Description |
---|
ChannelSecurityMetadataSource() |
ChannelSecurityMetadataSource(java.util.Map<java.util.regex.Pattern,ChannelAccessPolicy> patternMappings) |
Modifier and Type | Method and Description |
---|---|
void |
addPatternMapping(java.util.regex.Pattern pattern,
ChannelAccessPolicy accessPolicy) |
java.util.Collection<org.springframework.security.access.ConfigAttribute> |
getAllConfigAttributes() |
java.util.Collection<org.springframework.security.access.ConfigAttribute> |
getAttributes(java.lang.Object object) |
java.util.Set<java.util.regex.Pattern> |
getPatterns() |
boolean |
supports(java.lang.Class<?> clazz) |
public ChannelSecurityMetadataSource()
public ChannelSecurityMetadataSource(java.util.Map<java.util.regex.Pattern,ChannelAccessPolicy> patternMappings)
public void addPatternMapping(java.util.regex.Pattern pattern, ChannelAccessPolicy accessPolicy)
public java.util.Set<java.util.regex.Pattern> getPatterns()
public java.util.Collection<org.springframework.security.access.ConfigAttribute> getAttributes(java.lang.Object object) throws java.lang.IllegalArgumentException
getAttributes
in interface org.springframework.security.access.SecurityMetadataSource
java.lang.IllegalArgumentException
public java.util.Collection<org.springframework.security.access.ConfigAttribute> getAllConfigAttributes()
getAllConfigAttributes
in interface org.springframework.security.access.SecurityMetadataSource
public boolean supports(java.lang.Class<?> clazz)
supports
in interface org.springframework.security.access.SecurityMetadataSource