Class ChannelSecurityInterceptor
java.lang.Object
org.springframework.security.access.intercept.AbstractSecurityInterceptor
org.springframework.integration.security.channel.ChannelSecurityInterceptor
- All Implemented Interfaces:
Advice,Interceptor,MethodInterceptor,Aware,InitializingBean,ApplicationEventPublisherAware,MessageSourceAware
public final class ChannelSecurityInterceptor extends org.springframework.security.access.intercept.AbstractSecurityInterceptor implements MethodInterceptor
An AOP interceptor that enforces authorization for MessageChannel send and/or receive calls.
- Author:
- Mark Fisher, Oleg Zhurakousky
- See Also:
SecuredChannel
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ChannelSecurityInterceptor()ChannelSecurityInterceptor(ChannelSecurityMetadataSource securityMetadataSource) -
Method Summary
Modifier and Type Method Description Class<?>getSecureObjectClass()Objectinvoke(MethodInvocation invocation)org.springframework.security.access.SecurityMetadataSourceobtainSecurityMetadataSource()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
- Specified by:
getSecureObjectClassin classorg.springframework.security.access.intercept.AbstractSecurityInterceptor
-
invoke
- Specified by:
invokein interfaceMethodInterceptor- Throws:
Throwable
-
obtainSecurityMetadataSource
public org.springframework.security.access.SecurityMetadataSource obtainSecurityMetadataSource()- Specified by:
obtainSecurityMetadataSourcein classorg.springframework.security.access.intercept.AbstractSecurityInterceptor
-