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
Constructors Constructor Description ChannelSecurityMetadataSource()
ChannelSecurityMetadataSource(Map<Pattern,ChannelAccessPolicy> patternMappings)
-
Method Summary
Modifier and Type Method 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)
-
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
-