Modifier and Type | Method and Description |
---|---|
protected Session |
SingleSignOnAuthenticationMechanism.getSession(HttpServerExchange exchange) |
Session |
SingleSignOn.getSession(SessionManager manager)
Returns the session associated with the deployment of the specified session manager
|
Modifier and Type | Method and Description |
---|---|
void |
SingleSignOn.add(Session session)
Adds the specified session to the set of sessions to which the user is authenticated
|
boolean |
SingleSignOn.contains(Session session)
Indicates whether or not the specified session is contained in the set of sessions to which the user is authenticated
|
void |
SingleSignOn.remove(Session session)
Removes the specified session from the set of sessions to which the user is authenticated
|
Modifier and Type | Method and Description |
---|---|
protected Session |
LearningPushHandler.getSession(HttpServerExchange exchange) |
Modifier and Type | Method and Description |
---|---|
Session |
SessionManager.createSession(HttpServerExchange serverExchange,
SessionConfig sessionCookieConfig)
Creates a new session.
|
Session |
InMemorySessionManager.createSession(HttpServerExchange serverExchange,
SessionConfig config) |
Session |
SessionManager.getSession(HttpServerExchange serverExchange,
SessionConfig sessionCookieConfig) |
Session |
InMemorySessionManager.getSession(HttpServerExchange serverExchange,
SessionConfig config) |
Session |
SessionManager.getSession(String sessionId)
Retrieves a session with the given session id
|
Session |
InMemorySessionManager.getSession(String sessionId) |
Modifier and Type | Method and Description |
---|---|
void |
SessionListeners.attributeAdded(Session session,
String name,
Object value) |
void |
SessionListener.attributeAdded(Session session,
String name,
Object value) |
void |
SessionListeners.attributeRemoved(Session session,
String name,
Object oldValue) |
void |
SessionListener.attributeRemoved(Session session,
String name,
Object oldValue) |
void |
SessionListeners.attributeUpdated(Session session,
String name,
Object newValue,
Object oldValue) |
void |
SessionListener.attributeUpdated(Session session,
String name,
Object newValue,
Object oldValue) |
void |
SessionListeners.sessionCreated(Session session,
HttpServerExchange exchange) |
void |
SessionListener.sessionCreated(Session session,
HttpServerExchange exchange)
Called when a session is created
|
void |
SessionListeners.sessionDestroyed(Session session,
HttpServerExchange exchange,
SessionListener.SessionDestroyedReason reason) |
void |
SessionListener.sessionDestroyed(Session session,
HttpServerExchange exchange,
SessionListener.SessionDestroyedReason reason)
Called when a session is destroyed
|
void |
SessionListeners.sessionIdChanged(Session session,
String oldSessionId) |
void |
SessionListener.sessionIdChanged(Session session,
String oldSessionId) |
Modifier and Type | Method and Description |
---|---|
void |
SessionListenerBridge.attributeAdded(Session session,
String name,
Object value) |
void |
SessionListenerBridge.attributeRemoved(Session session,
String name,
Object old) |
void |
SessionListenerBridge.attributeUpdated(Session session,
String name,
Object value,
Object old) |
void |
SessionListenerBridge.sessionCreated(Session session,
HttpServerExchange exchange) |
void |
SessionListenerBridge.sessionDestroyed(Session session,
HttpServerExchange exchange,
SessionListener.SessionDestroyedReason reason) |
void |
SessionListenerBridge.sessionIdChanged(Session session,
String oldSessionId) |
Modifier and Type | Method and Description |
---|---|
protected Session |
ServletSingleSignOnAuthenticationMechanism.getSession(HttpServerExchange exchange) |
protected Session |
CachedAuthenticatedSessionHandler.underlyingSession(HttpSessionImpl httpSession) |
Modifier and Type | Method and Description |
---|---|
Session |
HttpSessionImpl.getSession() |
Session |
HttpSessionImpl.UnwrapSessionAction.run() |
Modifier and Type | Method and Description |
---|---|
static HttpSessionImpl |
HttpSessionImpl.forSession(Session session,
ServletContext servletContext,
boolean newSession) |
Modifier and Type | Method and Description |
---|---|
static Session |
Sessions.getOrCreateSession(HttpServerExchange exchange)
Gets the active session, creating a new one if one does not exist
|
static Session |
Sessions.getSession(HttpServerExchange exchange)
Gets the active session, returning null if one is not present.
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.