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
@Deprecated(since="6.0")
public final class ChannelSecurityInterceptor
extends org.springframework.security.access.intercept.AbstractSecurityInterceptor
implements MethodInterceptor
Deprecated.
An AOP interceptor that enforces authorization for MessageChannel send and/or receive calls.
- Author:
- Mark Fisher, Oleg Zhurakousky
- See Also:
-
Field Summary
Fields inherited from class org.springframework.security.access.intercept.AbstractSecurityInterceptor
logger, messages -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.ChannelSecurityInterceptor(ChannelSecurityMetadataSource securityMetadataSource) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionClass<?>Deprecated.invoke(MethodInvocation invocation) Deprecated.org.springframework.security.access.SecurityMetadataSourceDeprecated.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, setSecurityContextHolderStrategy, setValidateConfigAttributes
-
Constructor Details
-
ChannelSecurityInterceptor
public ChannelSecurityInterceptor()Deprecated. -
ChannelSecurityInterceptor
Deprecated.
-
-
Method Details
-
getSecureObjectClass
Deprecated.- Specified by:
getSecureObjectClassin classorg.springframework.security.access.intercept.AbstractSecurityInterceptor
-
invoke
Deprecated.- Specified by:
invokein interfaceMethodInterceptor- Throws:
Throwable
-
obtainSecurityMetadataSource
public org.springframework.security.access.SecurityMetadataSource obtainSecurityMetadataSource()Deprecated.- Specified by:
obtainSecurityMetadataSourcein classorg.springframework.security.access.intercept.AbstractSecurityInterceptor
-
new AuthorizationChannelInterceptor(AuthorityAuthorizationManager.hasAnyRole()). However, theAuthorizationChannelInterceptorcan be configured with anyAuthorizationManagerimplementation.