Annotation Interface SecuredChannel


@Target(METHOD) @Retention(RUNTIME) @Documented public @interface SecuredChannel
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
  • Element Details

    • interceptor

      String[] interceptor
    • sendAccess

      String[] sendAccess
      Default:
      {}
    • receiveAccess

      String[] receiveAccess
      Default:
      {}