org.springframework.integration.security.channel
Class ChannelSecurityMetadataSource
java.lang.Object
org.springframework.integration.security.channel.ChannelSecurityMetadataSource
- All Implemented Interfaces:
- org.springframework.aop.framework.AopInfrastructureBean, org.springframework.security.access.SecurityMetadataSource
public class ChannelSecurityMetadataSource
- extends java.lang.Object
- implements org.springframework.security.access.SecurityMetadataSource
The SecurityMetadataSource
implementation for secured MessageChannel
s.
- Author:
- Mark Fisher, Oleg Zhurakousky
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChannelSecurityMetadataSource
public ChannelSecurityMetadataSource()
ChannelSecurityMetadataSource
public ChannelSecurityMetadataSource(java.util.Map<java.util.regex.Pattern,ChannelAccessPolicy> patternMappings)
addPatternMapping
public void addPatternMapping(java.util.regex.Pattern pattern,
ChannelAccessPolicy accessPolicy)
getPatterns
public java.util.Set<java.util.regex.Pattern> getPatterns()
getAttributes
public java.util.Collection<org.springframework.security.access.ConfigAttribute> getAttributes(java.lang.Object object)
throws java.lang.IllegalArgumentException
- Specified by:
getAttributes
in interface org.springframework.security.access.SecurityMetadataSource
- Throws:
java.lang.IllegalArgumentException
getAllConfigAttributes
public java.util.Collection<org.springframework.security.access.ConfigAttribute> getAllConfigAttributes()
- Specified by:
getAllConfigAttributes
in interface org.springframework.security.access.SecurityMetadataSource
supports
public boolean supports(java.lang.Class<?> clazz)
- Specified by:
supports
in interface org.springframework.security.access.SecurityMetadataSource