- 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.
- 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.
- getCurrentSessionAlias(HttpServletRequest) - Method in class org.springframework.session.web.http.CookieHttpSessionStrategy
-
- getCurrentSessionAlias(HttpServletRequest) - Method in interface org.springframework.session.web.http.HttpSessionManager
-
Gets the current session's alias from the HttpServletRequest
.
- 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
.
- getId() - Method in class org.springframework.session.MapSession
-
- getId() - Method in interface org.springframework.session.Session
-
Gets a unique string that identifies the
Session
.
- 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.
- getNewSessionAlias(HttpServletRequest) - Method in class org.springframework.session.web.http.CookieHttpSessionStrategy
-
- getNewSessionAlias(HttpServletRequest) - Method in interface org.springframework.session.web.http.HttpSessionManager
-
Gets a new and unique Session alias.
- getRequest() - Method in class org.springframework.session.web.http.CookieSerializer.CookieValue
-
Gets the request to use.
- getRequestedSessionId(HttpServletRequest) - Method in class org.springframework.session.web.http.CookieHttpSessionStrategy
-
- getRequestedSessionId(HttpServletRequest) - Method in class org.springframework.session.web.http.HeaderHttpSessionStrategy
-
- getRequestedSessionId(HttpServletRequest) - Method in interface org.springframework.session.web.http.HttpSessionStrategy
-
Obtains the requested session id from the provided
HttpServletRequest
.
- 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.
- getSession(ServerWebExchange) - Method in class org.springframework.session.web.server.session.SpringSessionWebSessionManager
-
- getSessionCreatedChannelPrefix() - Method in class org.springframework.session.data.redis.RedisOperationsSessionRepository
-
Gets the prefix for the channel that SessionCreatedEvent are published to.
- getSessionDispatcherTypes() - Method in class org.springframework.session.web.context.AbstractHttpSessionApplicationInitializer
-
Get the DispatcherType
for the springSessionRepositoryFilter.
- getSessionId() - Method in class org.springframework.session.events.AbstractSessionEvent
-
- getSessionId(Map<String, Object>) - Static method in class org.springframework.session.web.socket.server.SessionRepositoryMessageInterceptor
-
- getSessionIds(HttpServletRequest) - Method in class org.springframework.session.web.http.CookieHttpSessionStrategy
-
- getSessionIds(HttpServletRequest) - Method in interface org.springframework.session.web.http.HttpSessionManager
-
Gets a mapping of the session alias to the session id from the
HttpServletRequest
.
- getSessionInformation(String) - Method in class org.springframework.session.security.SpringSessionBackedSessionRegistry
-
- getWebSocketSession() - Method in class org.springframework.session.web.socket.events.SessionConnectEvent
-
- save(RedisOperationsSessionRepository.RedisSession) - Method in class org.springframework.session.data.redis.RedisOperationsSessionRepository
-
- save(HazelcastSessionRepository.HazelcastSession) - Method in class org.springframework.session.hazelcast.HazelcastSessionRepository
-
- save(JdbcOperationsSessionRepository.JdbcSession) - Method in class org.springframework.session.jdbc.JdbcOperationsSessionRepository
-
- save(MapSession) - Method in class org.springframework.session.MapReactorSessionRepository
-
- save(MapSession) - Method in class org.springframework.session.MapSessionRepository
-
- save(S) - Method in interface org.springframework.session.ReactorSessionRepository
-
- save(S) - Method in interface org.springframework.session.SessionRepository
-
- 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
-
- SessionCreatedEvent(Object, String) - Constructor for class org.springframework.session.events.SessionCreatedEvent
-
- SessionCreatedEvent(Object, Session) - Constructor for class org.springframework.session.events.SessionCreatedEvent
-
- SessionDeletedEvent - Class in org.springframework.session.events
-
- SessionDeletedEvent(Object, String) - Constructor for class org.springframework.session.events.SessionDeletedEvent
-
- SessionDeletedEvent(Object, Session) - Constructor for class org.springframework.session.events.SessionDeletedEvent
-
- SessionDestroyedEvent - Class in org.springframework.session.events
-
Base class for events fired when a
Session
is destroyed explicitly.
- SessionDestroyedEvent(Object, String) - Constructor for class org.springframework.session.events.SessionDestroyedEvent
-
- SessionDestroyedEvent(Object, Session) - Constructor for class org.springframework.session.events.SessionDestroyedEvent
-
- sessionEventHttpSessionListenerAdapter() - Method in class org.springframework.session.config.annotation.web.http.SpringHttpSessionConfiguration
-
- SessionEventHttpSessionListenerAdapter - Class in org.springframework.session.web.http
-
- SessionEventHttpSessionListenerAdapter(List<HttpSessionListener>) - Constructor for class org.springframework.session.web.http.SessionEventHttpSessionListenerAdapter
-
- SessionExpiredEvent - Class in org.springframework.session.events
-
- SessionExpiredEvent(Object, String) - Constructor for class org.springframework.session.events.SessionExpiredEvent
-
- SessionExpiredEvent(Object, Session) - Constructor for class org.springframework.session.events.SessionExpiredEvent
-
- sessionRedisTemplate(RedisConnectionFactory) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
-
- sessionRepository(RedisOperations<Object, Object>, ApplicationEventPublisher) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
-
- sessionRepository(HazelcastInstance, ApplicationEventPublisher) - Method in class org.springframework.session.hazelcast.config.annotation.web.http.HazelcastHttpSessionConfiguration
-
- sessionRepository(JdbcOperations, PlatformTransactionManager) - 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.
- 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
-
- SessionRepositoryMessageInterceptor(SessionRepository<S>) - Constructor for class org.springframework.session.web.socket.server.SessionRepositoryMessageInterceptor
-
Creates a new instance.
- 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.RedisOperationsSessionRepository
-
- setApplicationEventPublisher(ApplicationEventPublisher) - Method in class org.springframework.session.hazelcast.HazelcastSessionRepository
-
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.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
-
- setClock(Clock) - Method in class org.springframework.session.web.server.session.SpringSessionWebSessionManager
-
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.JdbcOperationsSessionRepository
-
Sets the ConversionService
to use.
- 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.CookieHttpSessionStrategy
-
- setCreateSessionAttributeQuery(String) - Method in class org.springframework.session.jdbc.JdbcOperationsSessionRepository
-
Set the custom SQL query used to create the session attribute.
- setCreateSessionQuery(String) - Method in class org.springframework.session.jdbc.JdbcOperationsSessionRepository
-
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.
- setDefaultMaxInactiveInterval(int) - Method in class org.springframework.session.data.redis.RedisOperationsSessionRepository
-
Sets the maximum inactive interval in seconds between requests before newly created
sessions will be invalidated.
- setDefaultMaxInactiveInterval(Integer) - Method in class org.springframework.session.hazelcast.HazelcastSessionRepository
-
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.JdbcOperationsSessionRepository
-
Set the maximum inactive interval in seconds between requests before newly created
sessions will be invalidated.
- setDefaultMaxInactiveInterval(int) - Method in class org.springframework.session.MapReactorSessionRepository
-
- setDefaultMaxInactiveInterval(int) - Method in class org.springframework.session.MapSessionRepository
-
- setDefaultRedisSerializer(RedisSerializer<Object>) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
-
- setDefaultSerializer(RedisSerializer<Object>) - Method in class org.springframework.session.data.redis.RedisOperationsSessionRepository
-
Sets the default redis serializer.
- setDeleteSessionAttributeQuery(String) - Method in class org.springframework.session.jdbc.JdbcOperationsSessionRepository
-
Set the custom SQL query used to delete the session attribute.
- setDeleteSessionQuery(String) - Method in class org.springframework.session.jdbc.JdbcOperationsSessionRepository
-
Set the custom SQL query used to delete the session.
- setDeleteSessionsByLastAccessTimeQuery(String) - Method in class org.springframework.session.jdbc.JdbcOperationsSessionRepository
-
Set the custom SQL query used to delete the sessions by last access time.
- setDeserializationDelimiter(String) - Method in class org.springframework.session.web.http.CookieHttpSessionStrategy
-
Sets the delimiter between a session alias and a session id when deserializing a
cookie.
- 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.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
-
- setGetSessionQuery(String) - Method in class org.springframework.session.jdbc.JdbcOperationsSessionRepository
-
Set the custom SQL query used to retrieve the session.
- setHazelcastFlushMode(HazelcastFlushMode) - Method in class org.springframework.session.hazelcast.config.annotation.web.http.HazelcastHttpSessionConfiguration
-
- setHazelcastFlushMode(HazelcastFlushMode) - Method in class org.springframework.session.hazelcast.HazelcastSessionRepository
-
Sets the Hazelcast flush mode.
- setHeaderName(String) - Method in class org.springframework.session.web.http.HeaderHttpSessionStrategy
-
The name of the header to obtain the session id from.
- setHttpSessionListeners(List<HttpSessionListener>) - Method in class org.springframework.session.config.annotation.web.http.SpringHttpSessionConfiguration
-
- setHttpSessionStrategy(HttpSessionStrategy) - Method in class org.springframework.session.config.annotation.web.http.SpringHttpSessionConfiguration
-
- setHttpSessionStrategy(HttpSessionStrategy) - Method in class org.springframework.session.web.http.SessionRepositoryFilter
-
- setHttpSessionStrategy(MultiHttpSessionStrategy) - Method in class org.springframework.session.web.http.SessionRepositoryFilter
-
- 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.hazelcast.config.annotation.web.http.HazelcastHttpSessionConfiguration
-
- setImportMetadata(AnnotationMetadata) - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
-
- setJvmRoute(String) - Method in class org.springframework.session.web.http.DefaultCookieSerializer
-
Used to identify which JVM to route to for session affinity.
- 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.JdbcOperationsSessionRepository
-
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.JdbcOperationsSessionRepository
-
- 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.hazelcast.config.annotation.web.http.HazelcastHttpSessionConfiguration
-
- setMaxInactiveIntervalInSeconds(Integer) - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
-
- setRedisFlushMode(RedisFlushMode) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
-
- setRedisFlushMode(RedisFlushMode) - Method in class org.springframework.session.data.redis.RedisOperationsSessionRepository
-
Sets the redis flush mode.
- setRedisKeyNamespace(String) - Method in class org.springframework.session.data.redis.RedisOperationsSessionRepository
-
- setRedisNamespace(String) - Method in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration
-
- 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.
- setSerializationDelimiter(String) - Method in class org.springframework.session.web.http.CookieHttpSessionStrategy
-
Sets the delimiter between a session alias and a session id when deserializing a
cookie.
- setServletContext(ServletContext) - Method in class org.springframework.session.config.annotation.web.http.SpringHttpSessionConfiguration
-
- setServletContext(ServletContext) - Method in class org.springframework.session.web.http.SessionEventHttpSessionListenerAdapter
-
- setServletContext(ServletContext) - Method in class org.springframework.session.web.http.SessionRepositoryFilter
-
- setSessionAliasParamName(String) - Method in class org.springframework.session.web.http.CookieHttpSessionStrategy
-
Sets the name of the HTTP parameter that is used to specify the session alias.
- setSessionId(Map<String, Object>, String) - Static method in class org.springframework.session.web.socket.server.SessionRepositoryMessageInterceptor
-
- setSessionIdResolver(WebSessionIdResolver) - Method in class org.springframework.session.web.server.session.SpringSessionWebSessionManager
-
Configure the id resolution strategy.
- setSessionMapName(String) - Method in class org.springframework.session.hazelcast.config.annotation.web.http.HazelcastHttpSessionConfiguration
-
- 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.JdbcOperationsSessionRepository
-
Set the name of database table used to store sessions.
- setUpdateSessionAttributeQuery(String) - Method in class org.springframework.session.jdbc.JdbcOperationsSessionRepository
-
Set the custom SQL query used to update the session attribute.
- setUpdateSessionQuery(String) - Method in class org.springframework.session.jdbc.JdbcOperationsSessionRepository
-
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
-
- 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
-
- springSessionJdbcOperations(DataSource) - Method in class org.springframework.session.jdbc.config.annotation.web.http.JdbcHttpSessionConfiguration
-
- 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
-
- SpringSessionWebSessionManager - Class in org.springframework.session.web.server.session
-
- SpringSessionWebSessionManager(ReactorSessionRepository<? extends Session>) - Constructor for class org.springframework.session.web.server.session.SpringSessionWebSessionManager
-