Annotation Type 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
  • Required Element Summary

    Required Elements 
    Modifier and Type Required Element Description
    java.lang.String[] interceptor  
  • Optional Element Summary

    Optional Elements 
    Modifier and Type Optional Element Description
    java.lang.String[] receiveAccess  
    java.lang.String[] sendAccess  
  • Element Details

    • sendAccess

      java.lang.String[] sendAccess
      Default:
      {}
    • receiveAccess

      java.lang.String[] receiveAccess
      Default:
      {}