org.springframework.integration.security.channel
Class ChannelInvocationDefinitionSource
java.lang.Object
org.springframework.integration.security.channel.ChannelInvocationDefinitionSource
- All Implemented Interfaces:
- AopInfrastructureBean, org.springframework.security.access.SecurityMetadataSource
public class ChannelInvocationDefinitionSource
- extends 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 |
ChannelInvocationDefinitionSource
public ChannelInvocationDefinitionSource()
ChannelInvocationDefinitionSource
public ChannelInvocationDefinitionSource(Map<Pattern,ChannelAccessPolicy> patternMappings)
addPatternMapping
public void addPatternMapping(Pattern pattern,
ChannelAccessPolicy accessPolicy)
getPatterns
public Set<Pattern> getPatterns()
getAttributes
public Collection<org.springframework.security.access.ConfigAttribute> getAttributes(Object object)
throws IllegalArgumentException
- Specified by:
getAttributes
in interface org.springframework.security.access.SecurityMetadataSource
- Throws:
IllegalArgumentException
getAllConfigAttributes
public Collection<org.springframework.security.access.ConfigAttribute> getAllConfigAttributes()
- Specified by:
getAllConfigAttributes
in interface org.springframework.security.access.SecurityMetadataSource
supports
public boolean supports(Class<?> clazz)
- Specified by:
supports
in interface org.springframework.security.access.SecurityMetadataSource
Copyright © 2010. All Rights Reserved.