Annotation Interface SecuredChannel
@Deprecated(since="6.0")
@Target(METHOD)
@Retention(RUNTIME)
@Documented
public @interface SecuredChannel
Deprecated.
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
new AuthorizationChannelInterceptor(AuthorityAuthorizationManager.hasAnyRole())