Annotation Interface SecuredChannel


@Deprecated(since="6.0") @Target(METHOD) @Retention(RUNTIME) @Documented public @interface SecuredChannel
Deprecated.
since 6.0 in favor of literally new AuthorizationChannelInterceptor(AuthorityAuthorizationManager.hasAnyRole())
An annotation to be applied for the MessageChannel bean definition from JavaConfig - on @Bean method level.

Applies the ChannelSecurityInterceptor(s) using provided interceptor() bean name(s).

The sendAccess() and receiveAccess() policies are populated to the ChannelSecurityInterceptor(s) from the ChannelSecurityInterceptorBeanPostProcessor.

Since:
4.2
Author:
Artem Bilan
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Deprecated.
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Deprecated.
     
    Deprecated.
     
  • Element Details

    • interceptor

      String[] interceptor
      Deprecated.
    • sendAccess

      String[] sendAccess
      Deprecated.
      Default:
      {}
    • receiveAccess

      String[] receiveAccess
      Deprecated.
      Default:
      {}