org.springframework.integration.security.channel
Class ChannelSecurityInterceptor

java.lang.Object
  extended by org.springframework.security.intercept.AbstractSecurityInterceptor
      extended by org.springframework.integration.security.channel.ChannelSecurityInterceptor
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationEventPublisherAware, org.springframework.context.MessageSourceAware

public class ChannelSecurityInterceptor
extends org.springframework.security.intercept.AbstractSecurityInterceptor
implements org.aopalliance.intercept.MethodInterceptor

An AOP interceptor that enforces authorization for MessageChannel send and/or receive calls.

Author:
Mark Fisher

Field Summary
 
Fields inherited from class org.springframework.security.intercept.AbstractSecurityInterceptor
logger, messages
 
Constructor Summary
ChannelSecurityInterceptor(ChannelInvocationDefinitionSource objectDefinitionSource)
           
 
Method Summary
 java.lang.Class<?> getSecureObjectClass()
           
 java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
           
 org.springframework.security.intercept.ObjectDefinitionSource obtainObjectDefinitionSource()
           
 
Methods inherited from class org.springframework.security.intercept.AbstractSecurityInterceptor
afterInvocation, afterPropertiesSet, beforeInvocation, getAccessDecisionManager, getAfterInvocationManager, getAuthenticationManager, getRunAsManager, isAlwaysReauthenticate, isRejectPublicInvocations, isValidateConfigAttributes, setAccessDecisionManager, setAfterInvocationManager, setAlwaysReauthenticate, setApplicationEventPublisher, setAuthenticationManager, setMessageSource, setRejectPublicInvocations, setRunAsManager, setValidateConfigAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChannelSecurityInterceptor

public ChannelSecurityInterceptor(ChannelInvocationDefinitionSource objectDefinitionSource)
Method Detail

getSecureObjectClass

public java.lang.Class<?> getSecureObjectClass()
Specified by:
getSecureObjectClass in class org.springframework.security.intercept.AbstractSecurityInterceptor

obtainObjectDefinitionSource

public org.springframework.security.intercept.ObjectDefinitionSource obtainObjectDefinitionSource()
Specified by:
obtainObjectDefinitionSource in class org.springframework.security.intercept.AbstractSecurityInterceptor

invoke

public java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
                        throws java.lang.Throwable
Specified by:
invoke in interface org.aopalliance.intercept.MethodInterceptor
Throws:
java.lang.Throwable