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 MessageChannel
s.- Author:
- Mark Fisher, Oleg Zhurakousky
-
Constructor Summary
ConstructorDescriptionChannelSecurityMetadataSource
(Map<Pattern, ChannelAccessPolicy> patternMappings) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addPatternMapping
(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:
getAttributes
in interfaceorg.springframework.security.access.SecurityMetadataSource
- Throws:
IllegalArgumentException
-
getAllConfigAttributes
- Specified by:
getAllConfigAttributes
in interfaceorg.springframework.security.access.SecurityMetadataSource
-
supports
- Specified by:
supports
in interfaceorg.springframework.security.access.SecurityMetadataSource
-