Spring Integration

org.springframework.integration.security.channel
Class ChannelInvocationDefinitionSource

java.lang.Object
  extended by 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 MessageChannels.

Author:
Mark Fisher, Oleg Zhurakousky

Constructor Summary
ChannelInvocationDefinitionSource()
           
ChannelInvocationDefinitionSource(Map<Pattern,ChannelAccessPolicy> patternMappings)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChannelInvocationDefinitionSource

public ChannelInvocationDefinitionSource()

ChannelInvocationDefinitionSource

public ChannelInvocationDefinitionSource(Map<Pattern,ChannelAccessPolicy> patternMappings)
Method Detail

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

Spring Integration

Copyright © 2010. All Rights Reserved.