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