Skip navigation links
A B C D E F G H I J L M N O P R S U V W X 

A

AbstractHttpSessionApplicationInitializer - Class in org.springframework.session.web.context
Registers the DelegatingFilterProxy to use the springSessionRepositoryFilter before any other registered Filter.
AbstractHttpSessionApplicationInitializer() - Constructor for class org.springframework.session.web.context.AbstractHttpSessionApplicationInitializer
Creates a new instance that assumes the Spring Session configuration is loaded by some other means than this class.
AbstractHttpSessionApplicationInitializer(Class<?>...) - Constructor for class org.springframework.session.web.context.AbstractHttpSessionApplicationInitializer
Creates a new instance that will instantiate the ContextLoaderListener with the specified classes.
AbstractSessionEvent - Class in org.springframework.session.events
For SessionRepository implementations that support it, this event is fired when a Session is updated.
AbstractSessionWebSocketMessageBrokerConfigurer<S extends Session> - Class in org.springframework.session.web.socket.config.annotation
Eases configuration of Web Socket and Spring Session integration.
AbstractSessionWebSocketMessageBrokerConfigurer() - Constructor for class org.springframework.session.web.socket.config.annotation.AbstractSessionWebSocketMessageBrokerConfigurer
 
afterHandshake(ServerHttpRequest, ServerHttpResponse, WebSocketHandler, Exception) - Method in class org.springframework.session.web.socket.server.SessionRepositoryMessageInterceptor
 
afterSessionRepositoryFilter(ServletContext) - Method in class org.springframework.session.web.context.AbstractHttpSessionApplicationInitializer
Invoked after the springSessionRepositoryFilter is added.
appendFilters(ServletContext, Filter...) - Method in class org.springframework.session.web.context.AbstractHttpSessionApplicationInitializer
authenticationInfo() - Static method in class org.springframework.session.web.http.HeaderHttpSessionIdResolver
Convenience factory to create HeaderHttpSessionIdResolver that uses "Authentication-Info" header.
autoLogin(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.session.security.web.authentication.SpringSessionRememberMeServices
 

B

beforeHandshake(ServerHttpRequest, ServerHttpResponse, WebSocketHandler, Map<String, Object>) - Method in class org.springframework.session.web.socket.server.SessionRepositoryMessageInterceptor
 
beforeSessionRepositoryFilter(ServletContext) - Method in class org.springframework.session.web.context.AbstractHttpSessionApplicationInitializer
Invoked before the springSessionRepositoryFilter is added.

C

changeSessionId() - Method in class org.springframework.session.MapSession
 
changeSessionId() - Method in interface org.springframework.session.Session
Changes the session id.
cleanupExpiredSessions() - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
 
cleanUpExpiredSessions() - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
 
close() - Method in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
 
configure(RedisConnection) - Method in class org.springframework.session.data.redis.config.ConfigureNotifyKeyspaceEventsAction
 
configure(RedisConnection) - Method in interface org.springframework.session.data.redis.config.ConfigureRedisAction
 
configureClientInboundChannel(ChannelRegistration) - Method in class org.springframework.session.web.socket.config.annotation.AbstractSessionWebSocketMessageBrokerConfigurer
 
ConfigureNotifyKeyspaceEventsAction - Class in org.springframework.session.data.redis.config
Ensures that Redis Keyspace events for Generic commands and Expired events are enabled.
ConfigureNotifyKeyspaceEventsAction() - Constructor for class org.springframework.session.data.redis.config.ConfigureNotifyKeyspaceEventsAction
 
ConfigureRedisAction - Interface in org.springframework.session.data.redis.config
Allows specifying a strategy for configuring and validating Redis.
configureStompEndpoints(StompEndpointRegistry) - Method in class org.springframework.session.web.socket.config.annotation.AbstractSessionWebSocketMessageBrokerConfigurer
Register STOMP endpoints mapping each to a specific URL and (optionally) enabling and configuring SockJS fallback options with a SessionRepositoryMessageInterceptor automatically added as an interceptor.
configureWebSocketTransport(WebSocketTransportRegistration) - Method in class org.springframework.session.web.socket.config.annotation.AbstractSessionWebSocketMessageBrokerConfigurer
 
CookieHttpSessionIdResolver - Class in org.springframework.session.web.http
A HttpSessionIdResolver that uses a cookie to obtain the session from.
CookieHttpSessionIdResolver() - Constructor for class org.springframework.session.web.http.CookieHttpSessionIdResolver
 
CookieSerializer - Interface in org.springframework.session.web.http
Strategy for reading and writing a cookie value to the HttpServletResponse.
CookieSerializer.CookieValue - Class in org.springframework.session.web.http
Contains the information necessary to write a value to the HttpServletResponse.
CookieValue(HttpServletRequest, HttpServletResponse, String) - Constructor for class org.springframework.session.web.http.CookieSerializer.CookieValue
Creates a new instance.
createSession() - Method in class org.springframework.session.data.redis.ReactiveRedisSessionRepository
 
createSession() - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
 
createSession() - Method in class org.springframework.session.data.redis.RedisSessionRepository
 
createSession() - Method in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
 
createSession() - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
 
createSession() - Method in class org.springframework.session.MapSessionRepository
 
createSession() - Method in class org.springframework.session.ReactiveMapSessionRepository
 
createSession() - Method in interface org.springframework.session.ReactiveSessionRepository
Creates a new Session that is capable of being persisted by this ReactiveSessionRepository.
createSession() - Method in interface org.springframework.session.SessionRepository
Creates a new Session that is capable of being persisted by this SessionRepository.
createWebSession() - Method in class org.springframework.session.web.server.session.SpringSessionWebSessionStore
 
customize(T) - Method in interface org.springframework.session.config.ReactiveSessionRepositoryCustomizer
customize(T) - Method in interface org.springframework.session.config.SessionRepositoryCustomizer
Customize the SessionRepository.
customize(JdbcIndexedSessionRepository) - Method in class org.springframework.session.jdbc.Db2JdbcIndexedSessionRepositoryCustomizer
 
customize(JdbcIndexedSessionRepository) - Method in class org.springframework.session.jdbc.MySqlJdbcIndexedSessionRepositoryCustomizer
 
customize(JdbcIndexedSessionRepository) - Method in class org.springframework.session.jdbc.OracleJdbcIndexedSessionRepositoryCustomizer
 
customize(JdbcIndexedSessionRepository) - Method in class org.springframework.session.jdbc.PostgreSqlJdbcIndexedSessionRepositoryCustomizer
 
customize(JdbcIndexedSessionRepository) - Method in class org.springframework.session.jdbc.SqlServerJdbcIndexedSessionRepositoryCustomizer
 

D

Db2JdbcIndexedSessionRepositoryCustomizer - Class in org.springframework.session.jdbc
A SessionRepositoryCustomizer implementation that applies IBM DB2 specific optimized SQL statements to JdbcIndexedSessionRepository.
Db2JdbcIndexedSessionRepositoryCustomizer() - Constructor for class org.springframework.session.jdbc.Db2JdbcIndexedSessionRepositoryCustomizer
 
decorate(WebSocketHandler) - Method in class org.springframework.session.web.socket.handler.WebSocketConnectHandlerDecoratorFactory
 
DEFAULT_DATABASE - Static variable in class org.springframework.session.data.redis.RedisIndexedSessionRepository
The default Redis database used by Spring Session.
DEFAULT_FILTER_NAME - Static variable in class org.springframework.session.web.context.AbstractHttpSessionApplicationInitializer
The default name for Spring Session's repository filter.
DEFAULT_MAX_INACTIVE_INTERVAL_SECONDS - Static variable in class org.springframework.session.MapSession
DEFAULT_NAMESPACE - Static variable in class org.springframework.session.data.redis.ReactiveRedisSessionRepository
The default namespace for each key and channel in Redis used by Spring Session.
DEFAULT_NAMESPACE - Static variable in class org.springframework.session.data.redis.RedisIndexedSessionRepository
The default namespace for each key and channel in Redis used by Spring Session.
DEFAULT_ORDER - Static variable in class org.springframework.session.web.http.SessionRepositoryFilter
The default filter order.
DEFAULT_SESSION_MAP_NAME - Static variable in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
The default name of map used by Spring Session to store sessions.
DEFAULT_TABLE_NAME - Static variable in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
The default name of database table used by Spring Session to store sessions.
DefaultCookieSerializer - Class in org.springframework.session.web.http
The default implementation of CookieSerializer.
DefaultCookieSerializer() - Constructor for class org.springframework.session.web.http.DefaultCookieSerializer
 
DelegatingIndexResolver<S extends Session> - Class in org.springframework.session
An IndexResolver that resolves indexes using multiple @{link IndexResolver} delegates.
DelegatingIndexResolver(List<IndexResolver<S>>) - Constructor for class org.springframework.session.DelegatingIndexResolver
 
DelegatingIndexResolver(IndexResolver<S>...) - Constructor for class org.springframework.session.DelegatingIndexResolver
 
deleteById(String) - Method in class org.springframework.session.data.redis.ReactiveRedisSessionRepository
 
deleteById(String) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
 
deleteById(String) - Method in class org.springframework.session.data.redis.RedisSessionRepository
 
deleteById(String) - Method in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
 
deleteById(String) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
 
deleteById(String) - Method in class org.springframework.session.MapSessionRepository
 
deleteById(String) - Method in class org.springframework.session.ReactiveMapSessionRepository
 
deleteById(String) - Method in interface org.springframework.session.ReactiveSessionRepository
Deletes the Session with the given Session.getId() or does nothing if the Session is not found.
deleteById(String) - Method in interface org.springframework.session.SessionRepository
Deletes the Session with the given Session.getId() or does nothing if the Session is not found.
destroy() - Method in class org.springframework.session.hazelcast.HazelcastSessionSerializer
 
doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class org.springframework.session.web.http.SessionRepositoryFilter
 
doFilterNestedErrorDispatch(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class org.springframework.session.web.http.SessionRepositoryFilter
 

E

EnableHazelcastHttpSession - Annotation Type in org.springframework.session.hazelcast.config.annotation.web.http
Add this annotation to an @Configuration class to expose the SessionRepositoryFilter as a bean named springSessionRepositoryFilter and backed by Hazelcast.
EnableJdbcHttpSession - Annotation Type in org.springframework.session.jdbc.config.annotation.web.http
Add this annotation to an @Configuration class to expose the SessionRepositoryFilter as a bean named springSessionRepositoryFilter and backed by a relational database.
EnableRedisHttpSession - Annotation Type in org.springframework.session.data.redis.config.annotation.web.http
Add this annotation to an @Configuration class to expose the SessionRepositoryFilter as a bean named springSessionRepositoryFilter and backed by Redis.
enableRedisKeyspaceNotificationsInitializer() - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
 
EnableRedisWebSession - Annotation Type in org.springframework.session.data.redis.config.annotation.web.server
Add this annotation to an @Configuration class to expose the WebSessionManager as a bean named webSessionManager and backed by Reactive Redis.
EnableSpringHttpSession - Annotation Type in org.springframework.session.config.annotation.web.http
Add this annotation to an @Configuration class to expose the SessionRepositoryFilter as a bean named "springSessionRepositoryFilter" and backed by a user provided implementation of SessionRepository.
EnableSpringWebSession - Annotation Type in org.springframework.session.config.annotation.web.server
Add this annotation to a @Configuration class to configure a WebSessionManager for a WebFlux application.
entryAdded(EntryEvent<String, MapSession>) - Method in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
 
entryEvicted(EntryEvent<String, MapSession>) - Method in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
 
entryRemoved(EntryEvent<String, MapSession>) - Method in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
 
equals(Object) - Method in class org.springframework.session.MapSession
 
expireSession(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.session.web.http.CookieHttpSessionIdResolver
 
expireSession(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.session.web.http.HeaderHttpSessionIdResolver
 
expireSession(HttpServletRequest, HttpServletResponse) - Method in interface org.springframework.session.web.http.HttpSessionIdResolver
Instruct the client to end the current session.
extract(MapSession, String, ValueCollector) - Method in class org.springframework.session.hazelcast.PrincipalNameExtractor
 

F

findById(String) - Method in class org.springframework.session.data.redis.ReactiveRedisSessionRepository
 
findById(String) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
 
findById(String) - Method in class org.springframework.session.data.redis.RedisSessionRepository
 
findById(String) - Method in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
 
findById(String) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
 
findById(String) - Method in class org.springframework.session.MapSessionRepository
 
findById(String) - Method in class org.springframework.session.ReactiveMapSessionRepository
 
findById(String) - Method in interface org.springframework.session.ReactiveSessionRepository
Gets the Session by the Session.getId() or null if no Session is found.
findById(String) - Method in interface org.springframework.session.SessionRepository
Gets the Session by the Session.getId() or null if no Session is found.
findByIndexNameAndIndexValue(String, String) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
 
findByIndexNameAndIndexValue(String, String) - Method in interface org.springframework.session.FindByIndexNameSessionRepository
Find a Map of the session id to the Session of all sessions that contain the specified index name index value.
findByIndexNameAndIndexValue(String, String) - Method in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
 
findByIndexNameAndIndexValue(String, String) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
 
FindByIndexNameSessionRepository<S extends Session> - Interface in org.springframework.session
Extends a basic SessionRepository to allow finding sessions by the specified index name and index value.
findByPrincipalName(String) - Method in interface org.springframework.session.FindByIndexNameSessionRepository
Find a Map of the session id to the Session of all sessions that contain the index with the name FindByIndexNameSessionRepository.PRINCIPAL_NAME_INDEX_NAME and the specified principal name.
FlushMode - Enum in org.springframework.session
Supported modes of writing the session to session store.

G

getAllPrincipals() - Method in class org.springframework.session.security.SpringSessionBackedSessionRegistry
 
getAllSessions(Object, boolean) - Method in class org.springframework.session.security.SpringSessionBackedSessionRegistry
 
getAttribute(String) - Method in class org.springframework.session.MapSession
 
getAttribute(String) - Method in interface org.springframework.session.Session
Gets the Object associated with the specified name or null if no Object is associated to that name.
getAttributeNames() - Method in class org.springframework.session.MapSession
 
getAttributeNames() - Method in interface org.springframework.session.Session
Gets the attribute names that have a value associated with it.
getAttributeOrDefault(String, T) - Method in interface org.springframework.session.Session
Return the session attribute value, or a default, fallback value.
getCookieMaxAge() - Method in class org.springframework.session.web.http.CookieSerializer.CookieValue
Get the cookie max age.
getCookieValue() - Method in class org.springframework.session.web.http.CookieSerializer.CookieValue
The value to be written.
getCreationTime() - Method in class org.springframework.session.MapSession
 
getCreationTime() - Method in interface org.springframework.session.Session
Gets the time when this session was created.
getDispatcherWebApplicationContextSuffix() - Method in class org.springframework.session.web.context.AbstractHttpSessionApplicationInitializer
Return the <servlet-name> to use the DispatcherServlet's WebApplicationContext to find the DelegatingFilterProxy or null to use the parent ApplicationContext.
getExecutorName() - Method in class org.springframework.session.hazelcast.SessionUpdateEntryProcessor
 
getFlushMode() - Method in enum org.springframework.session.data.redis.RedisFlushMode
Deprecated.
 
getFlushMode() - Method in enum org.springframework.session.hazelcast.HazelcastFlushMode
Deprecated.
 
getId() - Method in class org.springframework.session.MapSession
 
getId() - Method in interface org.springframework.session.Session
Gets a unique string that identifies the Session.
getIndexName() - Method in class org.springframework.session.SingleIndexResolver
 
getLastAccessedTime() - Method in class org.springframework.session.MapSession
 
getLastAccessedTime() - Method in interface org.springframework.session.Session
Gets the last time this Session was accessed.
getMaxInactiveInterval() - Method in class org.springframework.session.MapSession
 
getMaxInactiveInterval() - Method in interface org.springframework.session.Session
Gets the maximum inactive interval between requests before this session will be invalidated.
getOriginalId() - Method in class org.springframework.session.MapSession
Get the original session id.
getRequest() - Method in class org.springframework.session.web.http.CookieSerializer.CookieValue
Gets the request to use.
getRequiredAttribute(String) - Method in interface org.springframework.session.Session
Return the session attribute value or if not present raise an IllegalArgumentException.
getResponse() - Method in class org.springframework.session.web.http.CookieSerializer.CookieValue
Gets the response to write to.
getSession() - Method in class org.springframework.session.events.AbstractSessionEvent
Gets the Session that was destroyed.
getSessionCreatedChannelPrefix() - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
Gets the prefix for the channel that SessionCreatedEvents are published to.
getSessionDeletedChannel() - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
Gets the name of the channel that SessionDeletedEvents are published to.
getSessionDispatcherTypes() - Method in class org.springframework.session.web.context.AbstractHttpSessionApplicationInitializer
Get the DispatcherType for the springSessionRepositoryFilter.
getSessionExpiredChannel() - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
Gets the name of the channel that SessionExpiredEvents are published to.
getSessionId() - Method in class org.springframework.session.events.AbstractSessionEvent
 
getSessionId(Map<String, Object>) - Static method in class org.springframework.session.web.socket.server.SessionRepositoryMessageInterceptor
 
getSessionInformation(String) - Method in class org.springframework.session.security.SpringSessionBackedSessionRegistry
 
getSessionRedisOperations() - Method in class org.springframework.session.data.redis.ReactiveRedisSessionRepository
Returns the ReactiveRedisOperations used for sessions.
getSessionRedisOperations() - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
Returns the RedisOperations used for sessions.
getSessionRedisOperations() - Method in class org.springframework.session.data.redis.RedisSessionRepository
Returns the RedisOperations used for sessions.
getTypeId() - Method in class org.springframework.session.hazelcast.HazelcastSessionSerializer
 
getWebSocketSession() - Method in class org.springframework.session.web.socket.events.SessionConnectEvent
 

H

hashCode() - Method in class org.springframework.session.MapSession
 
HazelcastFlushMode - Enum in org.springframework.session.hazelcast
Deprecated.
since 2.2.0 in favor of FlushMode
HazelcastHttpSessionConfiguration - Class in org.springframework.session.hazelcast.config.annotation.web.http
Exposes the SessionRepositoryFilter as a bean named springSessionRepositoryFilter.
HazelcastHttpSessionConfiguration() - Constructor for class org.springframework.session.hazelcast.config.annotation.web.http.HazelcastHttpSessionConfiguration
 
HazelcastIndexedSessionRepository - Class in org.springframework.session.hazelcast
A SessionRepository implementation that stores sessions in Hazelcast's distributed IMap.
HazelcastIndexedSessionRepository(HazelcastInstance) - Constructor for class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
Create a new HazelcastIndexedSessionRepository instance.
HazelcastSessionRepository - Class in org.springframework.session.hazelcast
Deprecated.
since 2.2.0 in favor of HazelcastIndexedSessionRepository
HazelcastSessionRepository(HazelcastInstance) - Constructor for class org.springframework.session.hazelcast.HazelcastSessionRepository
Deprecated.
Create a new HazelcastSessionRepository instance.
HazelcastSessionSerializer - Class in org.springframework.session.hazelcast
A Serializer implementation that handles the (de)serialization of MapSession stored on IMap.
HazelcastSessionSerializer() - Constructor for class org.springframework.session.hazelcast.HazelcastSessionSerializer
 
HeaderHttpSessionIdResolver - Class in org.springframework.session.web.http
A HttpSessionIdResolver that uses a header to resolve the session id.
HeaderHttpSessionIdResolver(String) - Constructor for class org.springframework.session.web.http.HeaderHttpSessionIdResolver
The name of the header to obtain the session id from.
HttpSessionIdResolver - Interface in org.springframework.session.web.http
Contract for session id resolution strategies.

I

IndexResolver<S extends Session> - Interface in org.springframework.session
Strategy interface for resolving the Session's indexes.
init() - Method in class org.springframework.session.config.annotation.web.http.SpringHttpSessionConfiguration
 
init() - Method in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
 
insertFilters(ServletContext, Filter...) - Method in class org.springframework.session.web.context.AbstractHttpSessionApplicationInitializer
Inserts the provided Filters before existing Filters using default generated names, AbstractHttpSessionApplicationInitializer.getSessionDispatcherTypes(), and AbstractHttpSessionApplicationInitializer.isAsyncSessionSupported().
INVALID_SESSION_ID_ATTR - Static variable in class org.springframework.session.web.http.SessionRepositoryFilter
Invalid session id (not backed by the session repository) request attribute name.
isAsyncSessionSupported() - Method in class org.springframework.session.web.context.AbstractHttpSessionApplicationInitializer
Determine if the springSessionRepositoryFilter should be marked as supporting asynch.
isExpired() - Method in class org.springframework.session.MapSession
 
isExpired() - Method in interface org.springframework.session.Session
Returns true if the session is expired.

J

JdbcHttpSessionConfiguration - Class in org.springframework.session.jdbc.config.annotation.web.http
Spring @Configuration class used to configure and initialize a JDBC based HttpSession provider implementation in Spring Session.
JdbcHttpSessionConfiguration() - Constructor for class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
 
JdbcIndexedSessionRepository - Class in org.springframework.session.jdbc
A SessionRepository implementation that uses Spring's JdbcOperations to store sessions in a relational database.
JdbcIndexedSessionRepository(JdbcOperations, TransactionOperations) - Constructor for class org.springframework.session.jdbc.JdbcIndexedSessionRepository
Create a new JdbcIndexedSessionRepository instance which uses the provided JdbcOperations and TransactionOperations to manage sessions.
JdbcOperationsSessionRepository - Class in org.springframework.session.jdbc
Deprecated.
since 2.2.0 in favor of JdbcIndexedSessionRepository
JdbcOperationsSessionRepository(JdbcOperations, TransactionOperations) - Constructor for class org.springframework.session.jdbc.JdbcOperationsSessionRepository
Deprecated.
Create a new JdbcOperationsSessionRepository instance which uses the provided JdbcOperations and TransactionOperations to manage sessions.
JdbcOperationsSessionRepository(JdbcOperations, PlatformTransactionManager) - Constructor for class org.springframework.session.jdbc.JdbcOperationsSessionRepository
JdbcOperationsSessionRepository(JdbcOperations) - Constructor for class org.springframework.session.jdbc.JdbcOperationsSessionRepository

L

loginFail(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.session.security.web.authentication.SpringSessionRememberMeServices
 
loginSuccess(HttpServletRequest, HttpServletResponse, Authentication) - Method in class org.springframework.session.security.web.authentication.SpringSessionRememberMeServices
 
logout(HttpServletRequest, HttpServletResponse, Authentication) - Method in class org.springframework.session.security.web.authentication.SpringSessionRememberMeServices
 

M

MapSession - Class in org.springframework.session
A Session implementation that is backed by a Map.
MapSession() - Constructor for class org.springframework.session.MapSession
Creates a new instance with a secure randomly generated identifier.
MapSession(String) - Constructor for class org.springframework.session.MapSession
Creates a new instance with the specified id.
MapSession(Session) - Constructor for class org.springframework.session.MapSession
Creates a new instance from the provided Session.
MapSessionRepository - Class in org.springframework.session
A SessionRepository backed by a Map and that uses a MapSession.
MapSessionRepository(Map<String, Session>) - Constructor for class org.springframework.session.MapSessionRepository
Creates a new instance backed by the provided Map.
MySqlJdbcIndexedSessionRepositoryCustomizer - Class in org.springframework.session.jdbc
A SessionRepositoryCustomizer implementation that applies MySQL specific optimized SQL statements to JdbcIndexedSessionRepository.
MySqlJdbcIndexedSessionRepositoryCustomizer() - Constructor for class org.springframework.session.jdbc.MySqlJdbcIndexedSessionRepositoryCustomizer
 

N

name(Object) - Method in class org.springframework.session.security.SpringSessionBackedSessionRegistry
Derives a String name for the given principal.
NO_OP - Static variable in interface org.springframework.session.data.redis.config.ConfigureRedisAction
A do nothing implementation of ConfigureRedisAction.

O

onApplicationEvent(AbstractSessionEvent) - Method in class org.springframework.session.web.http.SessionEventHttpSessionListenerAdapter
 
onApplicationEvent(ApplicationEvent) - Method in class org.springframework.session.web.socket.handler.WebSocketRegistryListener
 
onMessage(Message, byte[]) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
 
onStartup(ServletContext) - Method in class org.springframework.session.web.context.AbstractHttpSessionApplicationInitializer
 
OracleJdbcIndexedSessionRepositoryCustomizer - Class in org.springframework.session.jdbc
A SessionRepositoryCustomizer implementation that applies Oracle specific optimized SQL statements to JdbcIndexedSessionRepository.
OracleJdbcIndexedSessionRepositoryCustomizer() - Constructor for class org.springframework.session.jdbc.OracleJdbcIndexedSessionRepositoryCustomizer
 
org.springframework.session - package org.springframework.session
 
org.springframework.session.config - package org.springframework.session.config
 
org.springframework.session.config.annotation.web.http - package org.springframework.session.config.annotation.web.http
 
org.springframework.session.config.annotation.web.server - package org.springframework.session.config.annotation.web.server
 
org.springframework.session.data.redis - package org.springframework.session.data.redis
 
org.springframework.session.data.redis.config - package org.springframework.session.data.redis.config
 
org.springframework.session.data.redis.config.annotation - package org.springframework.session.data.redis.config.annotation
 
org.springframework.session.data.redis.config.annotation.web.http - package org.springframework.session.data.redis.config.annotation.web.http
 
org.springframework.session.data.redis.config.annotation.web.server - package org.springframework.session.data.redis.config.annotation.web.server
 
org.springframework.session.events - package org.springframework.session.events
 
org.springframework.session.hazelcast - package org.springframework.session.hazelcast
 
org.springframework.session.hazelcast.config.annotation - package org.springframework.session.hazelcast.config.annotation
 
org.springframework.session.hazelcast.config.annotation.web.http - package org.springframework.session.hazelcast.config.annotation.web.http
 
org.springframework.session.jdbc - package org.springframework.session.jdbc
 
org.springframework.session.jdbc.config.annotation - package org.springframework.session.jdbc.config.annotation
 
org.springframework.session.jdbc.config.annotation.web.http - package org.springframework.session.jdbc.config.annotation.web.http
 
org.springframework.session.security - package org.springframework.session.security
 
org.springframework.session.security.web.authentication - package org.springframework.session.security.web.authentication
 
org.springframework.session.web.context - package org.springframework.session.web.context
 
org.springframework.session.web.http - package org.springframework.session.web.http
 
org.springframework.session.web.server.session - package org.springframework.session.web.server.session
Spring Session reactive web support.
org.springframework.session.web.socket.config.annotation - package org.springframework.session.web.socket.config.annotation
 
org.springframework.session.web.socket.events - package org.springframework.session.web.socket.events
 
org.springframework.session.web.socket.handler - package org.springframework.session.web.socket.handler
 
org.springframework.session.web.socket.server - package org.springframework.session.web.socket.server
 

P

PostgreSqlJdbcIndexedSessionRepositoryCustomizer - Class in org.springframework.session.jdbc
A SessionRepositoryCustomizer implementation that applies PostgreSQL specific optimized SQL statements to JdbcIndexedSessionRepository.
PostgreSqlJdbcIndexedSessionRepositoryCustomizer() - Constructor for class org.springframework.session.jdbc.PostgreSqlJdbcIndexedSessionRepositoryCustomizer
 
preSend(Message<?>, MessageChannel) - Method in class org.springframework.session.web.socket.server.SessionRepositoryMessageInterceptor
 
PRINCIPAL_NAME_ATTRIBUTE - Static variable in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
The principal name custom attribute name.
PRINCIPAL_NAME_INDEX_NAME - Static variable in interface org.springframework.session.FindByIndexNameSessionRepository
A session index that contains the current principal name (i.e.
PrincipalNameExtractor - Class in org.springframework.session.hazelcast
Hazelcast ValueExtractor responsible for extracting principal name from the MapSession.
PrincipalNameExtractor() - Constructor for class org.springframework.session.hazelcast.PrincipalNameExtractor
 
PrincipalNameIndexResolver<S extends Session> - Class in org.springframework.session
IndexResolver to resolve the principal name from session attribute named FindByIndexNameSessionRepository.PRINCIPAL_NAME_INDEX_NAME or Spring Security context stored in the session under SPRING_SECURITY_CONTEXT attribute.
PrincipalNameIndexResolver() - Constructor for class org.springframework.session.PrincipalNameIndexResolver
 
process(Map.Entry<String, MapSession>) - Method in class org.springframework.session.hazelcast.SessionUpdateEntryProcessor
 

R

ReactiveMapSessionRepository - Class in org.springframework.session
A ReactiveSessionRepository backed by a Map and that uses a MapSession.
ReactiveMapSessionRepository(Map<String, Session>) - Constructor for class org.springframework.session.ReactiveMapSessionRepository
Creates a new instance backed by the provided Map.
ReactiveRedisOperationsSessionRepository - Class in org.springframework.session.data.redis
Deprecated.
since 2.2.0 in favor of ReactiveRedisSessionRepository
ReactiveRedisOperationsSessionRepository(ReactiveRedisOperations<String, Object>) - Constructor for class org.springframework.session.data.redis.ReactiveRedisOperationsSessionRepository
Deprecated.
ReactiveRedisSessionRepository - Class in org.springframework.session.data.redis
A ReactiveSessionRepository that is implemented using Spring Data's ReactiveRedisOperations.
ReactiveRedisSessionRepository(ReactiveRedisOperations<String, Object>) - Constructor for class org.springframework.session.data.redis.ReactiveRedisSessionRepository
Create a new ReactiveRedisSessionRepository instance.
ReactiveSessionRepository<S extends Session> - Interface in org.springframework.session
A repository interface for managing Session instances.
ReactiveSessionRepositoryCustomizer<T extends ReactiveSessionRepository> - Interface in org.springframework.session.config
Strategy that can be used to customize the ReactiveSessionRepository before it is fully initialized, in particular to tune its configuration.
read(ObjectDataInput) - Method in class org.springframework.session.hazelcast.HazelcastSessionSerializer
 
readCookieValues(HttpServletRequest) - Method in interface org.springframework.session.web.http.CookieSerializer
Reads all the matching cookies from the HttpServletRequest.
readCookieValues(HttpServletRequest) - Method in class org.springframework.session.web.http.DefaultCookieSerializer
 
RedisFlushMode - Enum in org.springframework.session.data.redis
Deprecated.
since 2.2.0 in favor of FlushMode
RedisHttpSessionConfiguration - Class in org.springframework.session.data.redis.config.annotation.web.http
Exposes the SessionRepositoryFilter as a bean named springSessionRepositoryFilter.
RedisHttpSessionConfiguration() - Constructor for class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
 
RedisIndexedSessionRepository - Class in org.springframework.session.data.redis
A SessionRepository that is implemented using Spring Data's RedisOperations.
RedisIndexedSessionRepository(RedisOperations<Object, Object>) - Constructor for class org.springframework.session.data.redis.RedisIndexedSessionRepository
Creates a new instance.
RedisOperationsSessionRepository - Class in org.springframework.session.data.redis
Deprecated.
since 2.2.0 in favor of RedisIndexedSessionRepository
RedisOperationsSessionRepository(RedisOperations<Object, Object>) - Constructor for class org.springframework.session.data.redis.RedisOperationsSessionRepository
Deprecated.
Creates a new instance.
RedisSessionRepository - Class in org.springframework.session.data.redis
A SessionRepository implementation that uses Spring Data's RedisOperations to store sessions is Redis.
RedisSessionRepository(RedisOperations<String, Object>) - Constructor for class org.springframework.session.data.redis.RedisSessionRepository
Create a new RedisSessionRepository instance.
RedisWebSessionConfiguration - Class in org.springframework.session.data.redis.config.annotation.web.server
Exposes the WebSessionManager as a bean named webSessionManager.
RedisWebSessionConfiguration() - Constructor for class org.springframework.session.data.redis.config.annotation.web.server.RedisWebSessionConfiguration
 
refreshLastRequest(String) - Method in class org.springframework.session.security.SpringSessionBackedSessionRegistry
 
registerNewSession(String, Object) - Method in class org.springframework.session.security.SpringSessionBackedSessionRegistry
 
registerStompEndpoints(StompEndpointRegistry) - Method in class org.springframework.session.web.socket.config.annotation.AbstractSessionWebSocketMessageBrokerConfigurer
 
REMEMBER_ME_LOGIN_ATTR - Static variable in class org.springframework.session.security.web.authentication.SpringSessionRememberMeServices
Remember-me login request attribute name.
rememberMeRequested(HttpServletRequest, String) - Method in class org.springframework.session.security.web.authentication.SpringSessionRememberMeServices
Allows customization of whether a remember-me login has been requested.
removeAttribute(String) - Method in class org.springframework.session.MapSession
 
removeAttribute(String) - Method in interface org.springframework.session.Session
Removes the attribute with the provided attribute name.
removeSession(String) - Method in class org.springframework.session.web.server.session.SpringSessionWebSessionStore
 
removeSessionInformation(String) - Method in class org.springframework.session.security.SpringSessionBackedSessionRegistry
 
resolveIndexesFor(S) - Method in class org.springframework.session.DelegatingIndexResolver
 
resolveIndexesFor(S) - Method in interface org.springframework.session.IndexResolver
Resolve indexes for the session.
resolveIndexesFor(S) - Method in class org.springframework.session.SingleIndexResolver
 
resolveIndexValueFor(S) - Method in class org.springframework.session.PrincipalNameIndexResolver
 
resolveIndexValueFor(S) - Method in class org.springframework.session.SingleIndexResolver
 
resolveSessionIds(HttpServletRequest) - Method in class org.springframework.session.web.http.CookieHttpSessionIdResolver
 
resolveSessionIds(HttpServletRequest) - Method in class org.springframework.session.web.http.HeaderHttpSessionIdResolver
 
resolveSessionIds(HttpServletRequest) - Method in interface org.springframework.session.web.http.HttpSessionIdResolver
Resolve the session ids associated with the provided HttpServletRequest.
retrieveSession(String) - Method in class org.springframework.session.web.server.session.SpringSessionWebSessionStore
 

S

save(ReactiveRedisSessionRepository.RedisSession) - Method in class org.springframework.session.data.redis.ReactiveRedisSessionRepository
 
save(RedisIndexedSessionRepository.RedisSession) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
 
save(RedisSessionRepository.RedisSession) - Method in class org.springframework.session.data.redis.RedisSessionRepository
 
save(HazelcastIndexedSessionRepository.HazelcastSession) - Method in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
 
save(JdbcIndexedSessionRepository.JdbcSession) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
 
save(MapSession) - Method in class org.springframework.session.MapSessionRepository
 
save(MapSession) - Method in class org.springframework.session.ReactiveMapSessionRepository
 
save(S) - Method in interface org.springframework.session.ReactiveSessionRepository
Ensures the Session created by ReactiveSessionRepository.createSession() is saved.
save(S) - Method in interface org.springframework.session.SessionRepository
Ensures the Session created by SessionRepository.createSession() is saved.
SaveMode - Enum in org.springframework.session
Supported modes of tracking and saving session changes to session store.
Session - Interface in org.springframework.session
Provides a way to identify a user in an agnostic way.
SESSION_REPOSITORY_ATTR - Static variable in class org.springframework.session.web.http.SessionRepositoryFilter
The session repository request attribute name.
SessionConnectEvent - Class in org.springframework.session.web.socket.events
Similar to Spring SessionConnectEvent except that it provides access to the WebSocketSession to allow mapping the Spring Session to the WebSocketSession.
SessionConnectEvent(Object, WebSocketSession) - Constructor for class org.springframework.session.web.socket.events.SessionConnectEvent
 
SessionCreatedEvent - Class in org.springframework.session.events
For SessionRepository implementations that support it, this event is fired when a Session is created.
SessionCreatedEvent(Object, Session) - Constructor for class org.springframework.session.events.SessionCreatedEvent
Create a new SessionCreatedEvent.
SessionDeletedEvent - Class in org.springframework.session.events
For SessionRepository implementations that support it, this event is fired when a Session is destroyed via deletion.
SessionDeletedEvent(Object, Session) - Constructor for class org.springframework.session.events.SessionDeletedEvent
Create a new SessionDeletedEvent.
SessionDestroyedEvent - Class in org.springframework.session.events
Base class for events fired when a Session is destroyed explicitly.
SessionDestroyedEvent(Object, Session) - Constructor for class org.springframework.session.events.SessionDestroyedEvent
Create a new SessionDestroyedEvent.
sessionEventHttpSessionListenerAdapter() - Method in class org.springframework.session.config.annotation.web.http.SpringHttpSessionConfiguration
 
SessionEventHttpSessionListenerAdapter - Class in org.springframework.session.web.http
Receives SessionDestroyedEvent and SessionCreatedEvent and translates them into HttpSessionEvent and submits the HttpSessionEvent to every registered HttpSessionListener.
SessionEventHttpSessionListenerAdapter(List<HttpSessionListener>) - Constructor for class org.springframework.session.web.http.SessionEventHttpSessionListenerAdapter
 
SessionExpiredEvent - Class in org.springframework.session.events
For SessionRepository implementations that support it, this event is fired when a Session is destroyed via expiration.
SessionExpiredEvent(Object, Session) - Constructor for class org.springframework.session.events.SessionExpiredEvent
Create a new SessionExpiredEvent.
sessionRepository() - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
 
sessionRepository() - Method in class org.springframework.session.data.redis.config.annotation.web.server.RedisWebSessionConfiguration
 
sessionRepository() - Method in class org.springframework.session.hazelcast.config.annotation.web.http.HazelcastHttpSessionConfiguration
 
sessionRepository() - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
 
SessionRepository<S extends Session> - Interface in org.springframework.session
A repository interface for managing Session instances.
SessionRepositoryCustomizer<T extends SessionRepository> - Interface in org.springframework.session.config
Strategy that can be used to customize the SessionRepository before it is fully initialized, in particular to tune its configuration.
SessionRepositoryFilter<S extends Session> - Class in org.springframework.session.web.http
Switches the HttpSession implementation to be backed by a Session.
SessionRepositoryFilter(SessionRepository<S>) - Constructor for class org.springframework.session.web.http.SessionRepositoryFilter
Creates a new instance.
sessionRepositoryInterceptor() - Method in class org.springframework.session.web.socket.config.annotation.AbstractSessionWebSocketMessageBrokerConfigurer
 
SessionRepositoryMessageInterceptor<S extends Session> - Class in org.springframework.session.web.socket.server
Acts as a ChannelInterceptor and a HandshakeInterceptor to ensure the Session.getLastAccessedTime() is up to date.
SessionRepositoryMessageInterceptor(SessionRepository<S>) - Constructor for class org.springframework.session.web.socket.server.SessionRepositoryMessageInterceptor
Creates a new instance.
SessionUpdateEntryProcessor - Class in org.springframework.session.hazelcast
Hazelcast EntryProcessor responsible for handling updates to session.
SessionUpdateEntryProcessor() - Constructor for class org.springframework.session.hazelcast.SessionUpdateEntryProcessor
 
setAlwaysRemember(boolean) - Method in class org.springframework.session.security.web.authentication.SpringSessionRememberMeServices
 
setApplicationContext(ApplicationContext) - Method in class org.springframework.session.config.annotation.web.http.SpringHttpSessionConfiguration
 
setApplicationEventPublisher(ApplicationEventPublisher) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
 
setApplicationEventPublisher(ApplicationEventPublisher) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
Sets the ApplicationEventPublisher that is used to publish SessionDestroyedEvent.
setApplicationEventPublisher(ApplicationEventPublisher) - Method in class org.springframework.session.hazelcast.config.annotation.web.http.HazelcastHttpSessionConfiguration
 
setApplicationEventPublisher(ApplicationEventPublisher) - Method in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
Sets the ApplicationEventPublisher that is used to publish session events.
setAttribute(String, Object) - Method in class org.springframework.session.MapSession
 
setAttribute(String, Object) - Method in interface org.springframework.session.Session
Sets the attribute value for the provided attribute name.
setBeanClassLoader(ClassLoader) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
 
setBeanClassLoader(ClassLoader) - Method in class org.springframework.session.data.redis.config.annotation.web.server.RedisWebSessionConfiguration
 
setBeanClassLoader(ClassLoader) - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
 
setCleanupCron(String) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
 
setCleanupCron(String) - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
 
setClock(Clock) - Method in class org.springframework.session.web.server.session.SpringSessionWebSessionStore
Configure the Clock to use to set lastAccessTime on every created session and to calculate if it is expired.
setConfigureRedisAction(ConfigureRedisAction) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
Sets the action to perform for configuring Redis.
setConversionService(ConversionService) - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
 
setConversionService(ConversionService) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
Sets the ConversionService to use.
setCookieMaxAge(int) - Method in class org.springframework.session.web.http.CookieSerializer.CookieValue
Set the cookie max age.
setCookieMaxAge(int) - Method in class org.springframework.session.web.http.DefaultCookieSerializer
Sets the maxAge property of the Cookie.
setCookieName(String) - Method in class org.springframework.session.web.http.DefaultCookieSerializer
 
setCookiePath(String) - Method in class org.springframework.session.web.http.DefaultCookieSerializer
Sets the path of the Cookie.
setCookieSerializer(CookieSerializer) - Method in class org.springframework.session.config.annotation.web.http.SpringHttpSessionConfiguration
 
setCookieSerializer(CookieSerializer) - Method in class org.springframework.session.web.http.CookieHttpSessionIdResolver
Sets the CookieSerializer to be used.
setCreateSessionAttributeQuery(String) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
Set the custom SQL query used to create the session attribute.
setCreateSessionQuery(String) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
Set the custom SQL query used to create the session.
setCreationTime(Instant) - Method in class org.springframework.session.MapSession
Sets the time that this Session was created.
setDatabase(int) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
Sets the database index to use.
setDataSource(ObjectProvider<DataSource>, ObjectProvider<DataSource>) - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
 
setDefaultMaxInactiveInterval(int) - Method in class org.springframework.session.data.redis.ReactiveRedisSessionRepository
Sets the maximum inactive interval in seconds between requests before newly created sessions will be invalidated.
setDefaultMaxInactiveInterval(int) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
Sets the maximum inactive interval in seconds between requests before newly created sessions will be invalidated.
setDefaultMaxInactiveInterval(Duration) - Method in class org.springframework.session.data.redis.RedisSessionRepository
Set the default maxInactiveInterval.
setDefaultMaxInactiveInterval(Integer) - Method in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
Set the maximum inactive interval in seconds between requests before newly created sessions will be invalidated.
setDefaultMaxInactiveInterval(Integer) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
Set the maximum inactive interval in seconds between requests before newly created sessions will be invalidated.
setDefaultMaxInactiveInterval(int) - Method in class org.springframework.session.MapSessionRepository
If non-null, this value is used to override Session.setMaxInactiveInterval(Duration).
setDefaultMaxInactiveInterval(int) - Method in class org.springframework.session.ReactiveMapSessionRepository
If non-null, this value is used to override Session.setMaxInactiveInterval(Duration).
setDefaultRedisSerializer(RedisSerializer<Object>) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
 
setDefaultRedisSerializer(RedisSerializer<Object>) - Method in class org.springframework.session.data.redis.config.annotation.web.server.RedisWebSessionConfiguration
 
setDefaultSerializer(RedisSerializer<Object>) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
Sets the default redis serializer.
setDeleteSessionAttributeQuery(String) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
Set the custom SQL query used to delete the session attribute.
setDeleteSessionQuery(String) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
Set the custom SQL query used to delete the session.
setDeleteSessionsByExpiryTimeQuery(String) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
Set the custom SQL query used to delete the sessions by last access time.
setDomainName(String) - Method in class org.springframework.session.web.http.DefaultCookieSerializer
Sets an explicit Domain Name.
setDomainNamePattern(String) - Method in class org.springframework.session.web.http.DefaultCookieSerializer
Sets a case insensitive pattern used to extract the domain name from the ServletRequest.getServerName().
setEmbeddedValueResolver(StringValueResolver) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
 
setEmbeddedValueResolver(StringValueResolver) - Method in class org.springframework.session.data.redis.config.annotation.web.server.RedisWebSessionConfiguration
 
setEmbeddedValueResolver(StringValueResolver) - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
 
setFlushMode(FlushMode) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
 
setFlushMode(FlushMode) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
Sets the redis flush mode.
setFlushMode(FlushMode) - Method in class org.springframework.session.data.redis.RedisSessionRepository
Set the flush mode.
setFlushMode(FlushMode) - Method in class org.springframework.session.hazelcast.config.annotation.web.http.HazelcastHttpSessionConfiguration
 
setFlushMode(FlushMode) - Method in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
Sets the Hazelcast flush mode.
setFlushMode(FlushMode) - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
 
setFlushMode(FlushMode) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
Set the flush mode.
setGetSessionQuery(String) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
Set the custom SQL query used to retrieve the session.
setHazelcast4SessionRepositoryCustomizer(ObjectProvider<SessionRepositoryCustomizer<Hazelcast4IndexedSessionRepository>>) - Method in class org.springframework.session.hazelcast.config.annotation.web.http.HazelcastHttpSessionConfiguration
 
setHazelcastFlushMode(HazelcastFlushMode) - Method in class org.springframework.session.hazelcast.config.annotation.web.http.HazelcastHttpSessionConfiguration
Deprecated.
setHazelcastFlushMode(HazelcastFlushMode) - Method in class org.springframework.session.hazelcast.HazelcastSessionRepository
setHazelcastInstance(ObjectProvider<HazelcastInstance>, ObjectProvider<HazelcastInstance>) - Method in class org.springframework.session.hazelcast.config.annotation.web.http.HazelcastHttpSessionConfiguration
 
setHttpSessionIdResolver(HttpSessionIdResolver) - Method in class org.springframework.session.config.annotation.web.http.SpringHttpSessionConfiguration
 
setHttpSessionIdResolver(HttpSessionIdResolver) - Method in class org.springframework.session.web.http.SessionRepositoryFilter
Sets the HttpSessionIdResolver to be used.
setHttpSessionListeners(List<HttpSessionListener>) - Method in class org.springframework.session.config.annotation.web.http.SpringHttpSessionConfiguration
 
setId(String) - Method in class org.springframework.session.MapSession
Sets the identifier for this Session.
setImportMetadata(AnnotationMetadata) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
 
setImportMetadata(AnnotationMetadata) - Method in class org.springframework.session.data.redis.config.annotation.web.server.RedisWebSessionConfiguration
 
setImportMetadata(AnnotationMetadata) - Method in class org.springframework.session.hazelcast.config.annotation.web.http.HazelcastHttpSessionConfiguration
 
setImportMetadata(AnnotationMetadata) - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
 
setIndexResolver(IndexResolver<Session>) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
 
setIndexResolver(IndexResolver<Session>) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
Set the IndexResolver to use.
setIndexResolver(IndexResolver<Session>) - Method in class org.springframework.session.hazelcast.config.annotation.web.http.HazelcastHttpSessionConfiguration
 
setIndexResolver(IndexResolver<Session>) - Method in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
Set the IndexResolver to use.
setIndexResolver(IndexResolver<Session>) - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
 
setIndexResolver(IndexResolver<Session>) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
Set the IndexResolver to use.
setJvmRoute(String) - Method in class org.springframework.session.web.http.DefaultCookieSerializer
Used to identify which JVM to route to for session affinity.
setKeyNamespace(String) - Method in class org.springframework.session.data.redis.RedisSessionRepository
Deprecated.
setLastAccessedTime(Instant) - Method in class org.springframework.session.MapSession
 
setLastAccessedTime(Instant) - Method in interface org.springframework.session.Session
Sets the last accessed time.
setListSessionsByPrincipalNameQuery(String) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
Set the custom SQL query used to retrieve the sessions by principal name.
setLobHandler(LobHandler) - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
 
setLobHandler(LobHandler) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
 
setMatchingMessageTypes(Set<SimpMessageType>) - Method in class org.springframework.session.web.socket.server.SessionRepositoryMessageInterceptor
Sets the SimpMessageType to match on.
setMaxInactiveInterval(Duration) - Method in class org.springframework.session.MapSession
 
setMaxInactiveInterval(Duration) - Method in interface org.springframework.session.Session
Sets the maximum inactive interval between requests before this session will be invalidated.
setMaxInactiveIntervalInSeconds(int) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
 
setMaxInactiveIntervalInSeconds(int) - Method in class org.springframework.session.data.redis.config.annotation.web.server.RedisWebSessionConfiguration
 
setMaxInactiveIntervalInSeconds(int) - Method in class org.springframework.session.hazelcast.config.annotation.web.http.HazelcastHttpSessionConfiguration
 
setMaxInactiveIntervalInSeconds(Integer) - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
 
setRedisConnectionFactory(ObjectProvider<RedisConnectionFactory>, ObjectProvider<RedisConnectionFactory>) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
 
setRedisConnectionFactory(ObjectProvider<ReactiveRedisConnectionFactory>, ObjectProvider<ReactiveRedisConnectionFactory>) - Method in class org.springframework.session.data.redis.config.annotation.web.server.RedisWebSessionConfiguration
 
setRedisFlushMode(RedisFlushMode) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
Deprecated.
setRedisFlushMode(RedisFlushMode) - Method in class org.springframework.session.data.redis.config.annotation.web.server.RedisWebSessionConfiguration
Deprecated.
setRedisFlushMode(RedisFlushMode) - Method in class org.springframework.session.data.redis.ReactiveRedisOperationsSessionRepository
Deprecated.
since 2.2.0 as support IMMEDIATE is removed
setRedisFlushMode(RedisFlushMode) - Method in class org.springframework.session.data.redis.RedisOperationsSessionRepository
Deprecated.
setRedisKeyNamespace(String) - Method in class org.springframework.session.data.redis.ReactiveRedisSessionRepository
 
setRedisKeyNamespace(String) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
 
setRedisKeyNamespace(String) - Method in class org.springframework.session.data.redis.RedisSessionRepository
Set the Redis key namespace.
setRedisNamespace(String) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
 
setRedisNamespace(String) - Method in class org.springframework.session.data.redis.config.annotation.web.server.RedisWebSessionConfiguration
 
setRedisSubscriptionExecutor(Executor) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
 
setRedisTaskExecutor(Executor) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
 
setRememberMeParameterName(String) - Method in class org.springframework.session.security.web.authentication.SpringSessionRememberMeServices
Set the name of the parameter which should be checked for to see if a remember-me has been requested during a login request.
setRememberMeRequestAttribute(String) - Method in class org.springframework.session.web.http.DefaultCookieSerializer
Set the request attribute name that indicates remember-me login.
setSameSite(String) - Method in class org.springframework.session.web.http.DefaultCookieSerializer
Set the value for the SameSite cookie directive.
setSaveMode(SaveMode) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
 
setSaveMode(SaveMode) - Method in class org.springframework.session.data.redis.config.annotation.web.server.RedisWebSessionConfiguration
 
setSaveMode(SaveMode) - Method in class org.springframework.session.data.redis.ReactiveRedisSessionRepository
Set the save mode.
setSaveMode(SaveMode) - Method in class org.springframework.session.data.redis.RedisIndexedSessionRepository
Set the save mode.
setSaveMode(SaveMode) - Method in class org.springframework.session.data.redis.RedisSessionRepository
Set the save mode.
setSaveMode(SaveMode) - Method in class org.springframework.session.hazelcast.config.annotation.web.http.HazelcastHttpSessionConfiguration
 
setSaveMode(SaveMode) - Method in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
Set the save mode.
setSaveMode(SaveMode) - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
 
setSaveMode(SaveMode) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
Set the save mode.
setServletContext(ServletContext) - Method in class org.springframework.session.config.annotation.web.http.SpringHttpSessionConfiguration
 
setServletContext(ServletContext) - Method in class org.springframework.session.web.http.SessionEventHttpSessionListenerAdapter
 
setSessionId(HttpServletRequest, HttpServletResponse, String) - Method in class org.springframework.session.web.http.CookieHttpSessionIdResolver
 
setSessionId(HttpServletRequest, HttpServletResponse, String) - Method in class org.springframework.session.web.http.HeaderHttpSessionIdResolver
 
setSessionId(HttpServletRequest, HttpServletResponse, String) - Method in interface org.springframework.session.web.http.HttpSessionIdResolver
Send the given session id to the client.
setSessionId(Map<String, Object>, String) - Static method in class org.springframework.session.web.socket.server.SessionRepositoryMessageInterceptor
 
setSessionMapName(String) - Method in class org.springframework.session.hazelcast.config.annotation.web.http.HazelcastHttpSessionConfiguration
 
setSessionMapName(String) - Method in class org.springframework.session.hazelcast.HazelcastIndexedSessionRepository
Set the name of map used to store sessions.
setSessionRepositoryCustomizer(ObjectProvider<SessionRepositoryCustomizer<RedisIndexedSessionRepository>>) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
 
setSessionRepositoryCustomizer(ObjectProvider<ReactiveSessionRepositoryCustomizer<ReactiveRedisSessionRepository>>) - Method in class org.springframework.session.data.redis.config.annotation.web.server.RedisWebSessionConfiguration
 
setSessionRepositoryCustomizer(ObjectProvider<SessionRepositoryCustomizer<HazelcastIndexedSessionRepository>>) - Method in class org.springframework.session.hazelcast.config.annotation.web.http.HazelcastHttpSessionConfiguration
 
setSessionRepositoryCustomizer(ObjectProvider<SessionRepositoryCustomizer<JdbcIndexedSessionRepository>>) - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
 
setSpringSessionConversionService(ConversionService) - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
 
setTableName(String) - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
 
setTableName(String) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
Set the name of database table used to store sessions.
setTransactionManager(PlatformTransactionManager) - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
 
setTransactionOperations(TransactionOperations) - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
 
setUpdateSessionAttributeQuery(String) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
Set the custom SQL query used to update the session attribute.
setUpdateSessionQuery(String) - Method in class org.springframework.session.jdbc.JdbcIndexedSessionRepository
Set the custom SQL query used to update the session.
setUseBase64Encoding(boolean) - Method in class org.springframework.session.web.http.DefaultCookieSerializer
Set if the Base64 encoding of cookie value should be used.
setUseHttpOnlyCookie(boolean) - Method in class org.springframework.session.web.http.DefaultCookieSerializer
Sets if a Cookie marked as HTTP Only should be used.
setUseSecureCookie(boolean) - Method in class org.springframework.session.web.http.DefaultCookieSerializer
Sets if a Cookie marked as secure should be used.
setValiditySeconds(int) - Method in class org.springframework.session.security.web.authentication.SpringSessionRememberMeServices
 
SingleIndexResolver<S extends Session> - Class in org.springframework.session
Base class for IndexResolvers that resolve a single index.
SingleIndexResolver(String) - Constructor for class org.springframework.session.SingleIndexResolver
 
SpringHttpSessionConfiguration - Class in org.springframework.session.config.annotation.web.http
Configures the basics for setting up Spring Session in a web environment.
SpringHttpSessionConfiguration() - Constructor for class org.springframework.session.config.annotation.web.http.SpringHttpSessionConfiguration
 
SpringSessionBackedSessionRegistry<S extends Session> - Class in org.springframework.session.security
A SessionRegistry that retrieves session information from Spring Session, rather than maintaining it itself.
SpringSessionBackedSessionRegistry(FindByIndexNameSessionRepository<S>) - Constructor for class org.springframework.session.security.SpringSessionBackedSessionRegistry
 
SpringSessionDataSource - Annotation Type in org.springframework.session.jdbc.config.annotation
Qualifier annotation for a DataSource to be injected in JdbcIndexedSessionRepository.
SpringSessionHazelcastInstance - Annotation Type in org.springframework.session.hazelcast.config.annotation
Qualifier annotation for a HazelcastInstance to be injected in HazelcastIndexedSessionRepository.
SpringSessionRedisConnectionFactory - Annotation Type in org.springframework.session.data.redis.config.annotation
Qualifier annotation for a RedisConnectionFactory to be injected in RedisIndexedSessionRepository.
springSessionRedisMessageListenerContainer(RedisIndexedSessionRepository) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
 
SpringSessionRedisOperations - Annotation Type in org.springframework.session.data.redis.config.annotation
Annotation used to inject the Redis accessor used by Spring Session's Redis session repository.
SpringSessionRememberMeServices - Class in org.springframework.session.security.web.authentication
A RememberMeServices implementation that uses Spring Session backed HttpSession to provide remember-me service capabilities.
SpringSessionRememberMeServices() - Constructor for class org.springframework.session.security.web.authentication.SpringSessionRememberMeServices
 
springSessionRepositoryFilter(SessionRepository<S>) - Method in class org.springframework.session.config.annotation.web.http.SpringHttpSessionConfiguration
 
SpringSessionWebSessionStore<S extends Session> - Class in org.springframework.session.web.server.session
The WebSessionStore implementation that provides the WebSession implementation backed by a Session returned by the ReactiveSessionRepository.
SpringSessionWebSessionStore(ReactiveSessionRepository<S>) - Constructor for class org.springframework.session.web.server.session.SpringSessionWebSessionStore
 
SpringWebSessionConfiguration - Class in org.springframework.session.config.annotation.web.server
Wire up a WebSessionManager using a Reactive ReactiveSessionRepository from the application context.
SpringWebSessionConfiguration() - Constructor for class org.springframework.session.config.annotation.web.server.SpringWebSessionConfiguration
 
SqlServerJdbcIndexedSessionRepositoryCustomizer - Class in org.springframework.session.jdbc
A SessionRepositoryCustomizer implementation that applies SQL Server specific optimized SQL statements to JdbcIndexedSessionRepository.
SqlServerJdbcIndexedSessionRepositoryCustomizer() - Constructor for class org.springframework.session.jdbc.SqlServerJdbcIndexedSessionRepositoryCustomizer
 

U

updateLastAccessTime(WebSession) - Method in class org.springframework.session.web.server.session.SpringSessionWebSessionStore
 

V

valueOf(String) - Static method in enum org.springframework.session.data.redis.RedisFlushMode
Deprecated.
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.springframework.session.FlushMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.springframework.session.hazelcast.HazelcastFlushMode
Deprecated.
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.springframework.session.SaveMode
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.springframework.session.data.redis.RedisFlushMode
Deprecated.
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.springframework.session.FlushMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.springframework.session.hazelcast.HazelcastFlushMode
Deprecated.
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.springframework.session.SaveMode
Returns an array containing the constants of this enum type, in the order they are declared.

W

webSessionManager(ReactiveSessionRepository<? extends Session>) - Method in class org.springframework.session.config.annotation.web.server.SpringWebSessionConfiguration
Configure a WebSessionManager using a provided ReactiveSessionRepository.
WebSocketConnectHandlerDecoratorFactory - Class in org.springframework.session.web.socket.handler
Ensures that a SessionConnectEvent is published in WebSocketHandler.afterConnectionEstablished(WebSocketSession).
WebSocketConnectHandlerDecoratorFactory(ApplicationEventPublisher) - Constructor for class org.springframework.session.web.socket.handler.WebSocketConnectHandlerDecoratorFactory
Creates a new instance.
webSocketRegistryListener() - Method in class org.springframework.session.web.socket.config.annotation.AbstractSessionWebSocketMessageBrokerConfigurer
 
WebSocketRegistryListener - Class in org.springframework.session.web.socket.handler
Keeps track of mapping the Spring Session ID to the WebSocketSession and ensuring when a SessionDestroyedEvent is fired that the WebSocketSession is closed.
WebSocketRegistryListener() - Constructor for class org.springframework.session.web.socket.handler.WebSocketRegistryListener
 
write(ObjectDataOutput, MapSession) - Method in class org.springframework.session.hazelcast.HazelcastSessionSerializer
 
writeCookieValue(CookieSerializer.CookieValue) - Method in interface org.springframework.session.web.http.CookieSerializer
Writes a given CookieSerializer.CookieValue to the provided HttpServletResponse.
writeCookieValue(CookieSerializer.CookieValue) - Method in class org.springframework.session.web.http.DefaultCookieSerializer
 
wsConnectHandlerDecoratorFactory() - Method in class org.springframework.session.web.socket.config.annotation.AbstractSessionWebSocketMessageBrokerConfigurer
 

X

xAuthToken() - Static method in class org.springframework.session.web.http.HeaderHttpSessionIdResolver
Convenience factory to create HeaderHttpSessionIdResolver that uses "X-Auth-Token" header.
A B C D E F G H I J L M N O P R S U V W X 
Skip navigation links