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
ConstructorsConstructorDescriptionChannelSecurityMetadataSource(Map<Pattern, ChannelAccessPolicy> patternMappings) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPatternMapping(Pattern pattern, ChannelAccessPolicy accessPolicy) Collection<org.springframework.security.access.ConfigAttribute>Collection<org.springframework.security.access.ConfigAttribute>getAttributes(Object object) boolean
-
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
-