org.springframework.security.web.context.request.async
Class WebAsyncManagerIntegrationFilter
java.lang.Object
org.springframework.web.filter.GenericFilterBean
org.springframework.web.filter.OncePerRequestFilter
org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter
- All Implemented Interfaces:
- javax.servlet.Filter, Aware, BeanNameAware, DisposableBean, InitializingBean, EnvironmentAware, ServletContextAware
public final class WebAsyncManagerIntegrationFilter
- extends OncePerRequestFilter
Provides integration between the SecurityContext
and Spring Web's WebAsyncManager
by using the
SecurityContextCallableProcessingInterceptor.beforeConcurrentHandling(org.springframework.web.context.request.NativeWebRequest, Callable)
to populate the SecurityContext
on the Callable
.
- See Also:
SecurityContextCallableProcessingInterceptor
Method Summary |
protected void |
doFilterInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain filterChain)
|
Methods inherited from class org.springframework.web.filter.GenericFilterBean |
addRequiredProperty, afterPropertiesSet, destroy, getFilterConfig, getFilterName, getServletContext, init, initBeanWrapper, initFilterBean, setBeanName, setEnvironment, setServletContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebAsyncManagerIntegrationFilter
public WebAsyncManagerIntegrationFilter()
doFilterInternal
protected void doFilterInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain filterChain)
throws javax.servlet.ServletException,
IOException
- Specified by:
doFilterInternal
in class OncePerRequestFilter
- Throws:
javax.servlet.ServletException
IOException