Class ChannelSecurityMetadataSource
java.lang.Object
org.springframework.integration.security.channel.ChannelSecurityMetadataSource
- All Implemented Interfaces:
AopInfrastructureBean,org.springframework.security.access.SecurityMetadataSource
public class ChannelSecurityMetadataSource extends Object implements org.springframework.security.access.SecurityMetadataSource
The
SecurityMetadataSource implementation for secured MessageChannels.- Author:
- Mark Fisher, Oleg Zhurakousky
-
Constructor Summary
Constructors Constructor Description ChannelSecurityMetadataSource()ChannelSecurityMetadataSource(Map<Pattern,ChannelAccessPolicy> patternMappings) -
Method Summary
Modifier and Type Method Description voidaddPatternMapping(Pattern pattern, ChannelAccessPolicy accessPolicy)Collection<org.springframework.security.access.ConfigAttribute>getAllConfigAttributes()Collection<org.springframework.security.access.ConfigAttribute>getAttributes(Object object)Set<Pattern>getPatterns()booleansupports(Class<?> clazz)
-
Constructor Details
-
ChannelSecurityMetadataSource
public ChannelSecurityMetadataSource() -
ChannelSecurityMetadataSource
-
-
Method Details
-
addPatternMapping
-
getPatterns
-
getAttributes
public Collection<org.springframework.security.access.ConfigAttribute> getAttributes(Object object) throws IllegalArgumentException- Specified by:
getAttributesin interfaceorg.springframework.security.access.SecurityMetadataSource- Throws:
IllegalArgumentException
-
getAllConfigAttributes
- Specified by:
getAllConfigAttributesin interfaceorg.springframework.security.access.SecurityMetadataSource
-
supports
- Specified by:
supportsin interfaceorg.springframework.security.access.SecurityMetadataSource
-