Class SecurityContextPropagationChannelInterceptor

java.lang.Object
org.springframework.integration.channel.interceptor.ThreadStatePropagationChannelInterceptor<org.springframework.security.core.Authentication>
org.springframework.integration.security.channel.SecurityContextPropagationChannelInterceptor
All Implemented Interfaces:
ChannelInterceptor, ExecutorChannelInterceptor

@Deprecated(since="6.2", forRemoval=true) public class SecurityContextPropagationChannelInterceptor extends ThreadStatePropagationChannelInterceptor<org.springframework.security.core.Authentication>
Deprecated, for removal: This API element is subject to removal in a future version.
since 6.2 in favor of SecurityContextPropagationChannelInterceptor
The ExecutorChannelInterceptor implementation responsible for the SecurityContext propagation from one message flow's thread to another through the MessageChannels involved in the flow.

In addition this interceptor cleans up (restores) the SecurityContext in the containers Threads for channels like ExecutorChannel and QueueChannel.

Since:
4.2
Author:
Artem Bilan, Gary Russell
See Also:
  • Constructor Details

    • SecurityContextPropagationChannelInterceptor

      public SecurityContextPropagationChannelInterceptor()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details