Class ChannelSecurityInterceptor
java.lang.Object
org.springframework.security.access.intercept.AbstractSecurityInterceptor
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.Aware
,org.springframework.beans.factory.InitializingBean
,org.springframework.context.ApplicationEventPublisherAware
,org.springframework.context.MessageSourceAware
public final class ChannelSecurityInterceptor
extends org.springframework.security.access.intercept.AbstractSecurityInterceptor
implements org.aopalliance.intercept.MethodInterceptor
An AOP interceptor that enforces authorization for MessageChannel send and/or receive calls.
- See Also:
SecuredChannel
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ChannelSecurityInterceptor()
ChannelSecurityInterceptor(ChannelSecurityMetadataSource securityMetadataSource)
-
Method Summary
Modifier and Type Method Description java.lang.Class<?>
getSecureObjectClass()
java.lang.Object
invoke(org.aopalliance.intercept.MethodInvocation invocation)
org.springframework.security.access.SecurityMetadataSource
obtainSecurityMetadataSource()
Methods inherited from class org.springframework.security.access.intercept.AbstractSecurityInterceptor
afterInvocation, afterPropertiesSet, beforeInvocation, finallyInvocation, getAccessDecisionManager, getAfterInvocationManager, getAuthenticationManager, getRunAsManager, isAlwaysReauthenticate, isRejectPublicInvocations, isValidateConfigAttributes, setAccessDecisionManager, setAfterInvocationManager, setAlwaysReauthenticate, setApplicationEventPublisher, setAuthenticationManager, setMessageSource, setPublishAuthorizationSuccess, setRejectPublicInvocations, setRunAsManager, setValidateConfigAttributes
-
Constructor Details
-
ChannelSecurityInterceptor
public ChannelSecurityInterceptor() -
ChannelSecurityInterceptor
-
-
Method Details
-
getSecureObjectClass
public java.lang.Class<?> getSecureObjectClass()- Specified by:
getSecureObjectClass
in classorg.springframework.security.access.intercept.AbstractSecurityInterceptor
-
invoke
public java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation invocation) throws java.lang.Throwable- Specified by:
invoke
in interfaceorg.aopalliance.intercept.MethodInterceptor
- Throws:
java.lang.Throwable
-
obtainSecurityMetadataSource
public org.springframework.security.access.SecurityMetadataSource obtainSecurityMetadataSource()- Specified by:
obtainSecurityMetadataSource
in classorg.springframework.security.access.intercept.AbstractSecurityInterceptor
-