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
- Author:
- Artem Bilan
-
Required Element Summary
Required Elements Modifier and Type Required Element Description String[]interceptor -
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String[]receiveAccessString[]sendAccess
-
Element Details
-
interceptor
String[] interceptor
-
-
-
sendAccess
String[] sendAccess- Default:
- {}
-
receiveAccess
String[] receiveAccess- Default:
- {}
-