DelegatingFilterProxy to use the
springSessionRepositoryFilter before any other registered Filter.ContextLoaderListener with the specified classes.Filters after existing Filters
using default generated names, AbstractHttpSessionApplicationInitializer.getSessionDispatcherTypes(), and
AbstractHttpSessionApplicationInitializer.isAsyncSessionSupported().SessionRepositoryMessageInterceptor automatically added as an
interceptor.HttpSessionStrategy that uses a cookie to obtain the session from.Session that is capable of being persisted by this SessionRepository.MapSession.setMaxInactiveIntervalInSeconds(int) (30 minutes)@Configuration class to expose the
SessionRepositoryFilter as a bean named "springSessionRepositoryFilter" and
backed by Redis.Session that contains additional attributes that are useful for determining if a session is expired.HttpServletRequest.<servlet-name> to use the DispatcherServlet's
WebApplicationContext to find the DelegatingFilterProxy
or null to use the parent ApplicationContext.SessionSession was accessed expressed in milliseconds since midnight of 1/1/1970 GMTHttpServletRequest.DispatcherType for the springSessionRepositoryFilter.HttpServletRequestHttpSessionStrategy that uses a header to obtain the session from.Session.Filters before existing Filters
using default generated names, AbstractHttpSessionApplicationInitializer.getSessionDispatcherTypes(), and
AbstractHttpSessionApplicationInitializer.isAsyncSessionSupported().SessionConcurrentHashMapMap.HttpSessionStrategy may also want to further customize
HttpServletRequest and HttpServletResponse objects.SessionRepositoryFilter as a bean named
"springSessionRepositoryFilter".SessionRepository that is implemented
using Spring Data's
RedisOperations.RedisOperations for both managing the session and the expirations.HttpServletRequest and/or the
HttpServletResponse.Session created by SessionRepository.createSession() is saved.SessionConnectEvent except
that it provides access to the WebSocketSession to allow mapping the
Spring Session to the WebSocketSession.SessionRepository implementations that support it, this event is
fired when a Session is destroyed either explicitly or via
expiration.Message notifications.Session instances.HttpSession implementation to be backed by a Session.ChannelInterceptor and a HandshakeInterceptor to
ensure the ExpiringSession.getLastAccessedTime() is up to date.Session was created in milliseconds since midnight of 1/1/1970 GMT.ExpiringSession.setMaxInactiveIntervalInSeconds(int).HttpSessionStrategy to be used.MultiHttpSessionStrategy to be used.Session.SimpMessageType to match on.SessionConnectEvent is published in
WebSocketHandler.afterConnectionEstablished(WebSocketSession).WebSocketSession
and ensuring when a SessionDestroyedEvent is fired that the
WebSocketSession is closed.HttpServletRequest.HttpServletResponse.