@Configuration
@EnableSpringHttpSession
public class HttpSessionDelegatingHttpSessionConfiguration
extends org.springframework.session.config.annotation.web.http.SpringHttpSessionConfiguration
HttpSessionDelegatingRepository
.Modifier and Type | Class and Description |
---|---|
static class |
HttpSessionDelegatingHttpSessionConfiguration.HttpServletRequestAwareFilter
Setting
HttpServletRequest in ThreadLocal to allow the next filter chain to be able to access
the underlying HttpServletRequest during request processing cycle. |
Constructor and Description |
---|
HttpSessionDelegatingHttpSessionConfiguration() |
Modifier and Type | Method and Description |
---|---|
HttpSessionDelegatingHttpSessionConfiguration.HttpServletRequestAwareFilter |
servletRequestAwareFilter() |
HttpSessionDelegatingRepository |
sessionRepository() |
init, sessionEventHttpSessionListenerAdapter, setApplicationContext, setCookieSerializer, setHttpSessionIdResolver, setHttpSessionListeners, setServletContext, springSessionRepositoryFilter
public HttpSessionDelegatingHttpSessionConfiguration()
@Bean public HttpSessionDelegatingHttpSessionConfiguration.HttpServletRequestAwareFilter servletRequestAwareFilter()
@Bean public HttpSessionDelegatingRepository sessionRepository()
Copyright © 2019. All rights reserved.