Class SecurityContextCallableProcessingInterceptor

java.lang.Object
org.springframework.security.web.context.request.async.SecurityContextCallableProcessingInterceptor
All Implemented Interfaces:
org.springframework.web.context.request.async.CallableProcessingInterceptor

public final class SecurityContextCallableProcessingInterceptor extends Object implements org.springframework.web.context.request.async.CallableProcessingInterceptor

Allows for integration with Spring MVC's Callable support.

A CallableProcessingInterceptor that establishes the injected SecurityContext on the SecurityContextHolder when preProcess(NativeWebRequest, Callable) is invoked. It also clear out the SecurityContextHolder by invoking SecurityContextHolder.clearContext() in the postProcess(NativeWebRequest, Callable, Object) method.

Since:
3.2