org.springframework.integration.security.channel
Class ChannelInvocationDefinitionSource
java.lang.Object
org.springframework.integration.security.channel.ChannelInvocationDefinitionSource
- All Implemented Interfaces:
- org.springframework.security.intercept.ObjectDefinitionSource
public class ChannelInvocationDefinitionSource
- extends java.lang.Object
- implements org.springframework.security.intercept.ObjectDefinitionSource
The ObjectDefinitionSource
implementation for secured MessageChannel
s.
- Author:
- Mark Fisher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChannelInvocationDefinitionSource
public ChannelInvocationDefinitionSource()
ChannelInvocationDefinitionSource
public ChannelInvocationDefinitionSource(java.util.Map<java.util.regex.Pattern,ChannelAccessPolicy> patternMappings)
addPatternMapping
public void addPatternMapping(java.util.regex.Pattern pattern,
ChannelAccessPolicy accessPolicy)
getPatterns
public java.util.Set<java.util.regex.Pattern> getPatterns()
supports
public boolean supports(java.lang.Class clazz)
- Specified by:
supports
in interface org.springframework.security.intercept.ObjectDefinitionSource
getAttributes
public org.springframework.security.ConfigAttributeDefinition getAttributes(java.lang.Object object)
throws java.lang.IllegalArgumentException
- Specified by:
getAttributes
in interface org.springframework.security.intercept.ObjectDefinitionSource
- Throws:
java.lang.IllegalArgumentException
getConfigAttributeDefinitions
public java.util.Collection<?> getConfigAttributeDefinitions()
- Specified by:
getConfigAttributeDefinitions
in interface org.springframework.security.intercept.ObjectDefinitionSource