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.
since 6.0 in favor of literally new AuthorizationChannelInterceptor(AuthorityAuthorizationManager.hasAnyRole()). However, the AuthorizationChannelInterceptor can be configured with any AuthorizationManager implementation.
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

    Constructors
    Constructor
    Description
    Deprecated.
     
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
     
    Deprecated.
     
    org.springframework.security.access.SecurityMetadataSource
    Deprecated.
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ChannelSecurityInterceptor

      public ChannelSecurityInterceptor()
      Deprecated.
    • ChannelSecurityInterceptor

      public ChannelSecurityInterceptor(ChannelSecurityMetadataSource securityMetadataSource)
      Deprecated.
  • Method Details

    • getSecureObjectClass

      public Class<?> getSecureObjectClass()
      Deprecated.
      Specified by:
      getSecureObjectClass in class org.springframework.security.access.intercept.AbstractSecurityInterceptor
    • invoke

      public Object invoke(MethodInvocation invocation) throws Throwable
      Deprecated.
      Specified by:
      invoke in interface MethodInterceptor
      Throws:
      Throwable
    • obtainSecurityMetadataSource

      public org.springframework.security.access.SecurityMetadataSource obtainSecurityMetadataSource()
      Deprecated.
      Specified by:
      obtainSecurityMetadataSource in class org.springframework.security.access.intercept.AbstractSecurityInterceptor