Package | Description |
---|---|
io.undertow.security.impl | |
io.undertow.server.handlers | |
io.undertow.server.session | |
io.undertow.util |
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 |
---|---|
default void |
SessionListener.attributeAdded(Session session,
String name,
Object value) |
void |
SessionListeners.attributeAdded(Session session,
String name,
Object value) |
default void |
SessionListener.attributeRemoved(Session session,
String name,
Object oldValue) |
void |
SessionListeners.attributeRemoved(Session session,
String name,
Object oldValue) |
default void |
SessionListener.attributeUpdated(Session session,
String name,
Object newValue,
Object oldValue) |
void |
SessionListeners.attributeUpdated(Session session,
String name,
Object newValue,
Object oldValue) |
default void |
SessionListener.sessionCreated(Session session,
HttpServerExchange exchange)
Called when a session is created
|
void |
SessionListeners.sessionCreated(Session session,
HttpServerExchange exchange) |
default void |
SessionListener.sessionDestroyed(Session session,
HttpServerExchange exchange,
SessionListener.SessionDestroyedReason reason)
Called when a session is destroyed
|
void |
SessionListeners.sessionDestroyed(Session session,
HttpServerExchange exchange,
SessionListener.SessionDestroyedReason reason) |
default void |
SessionListener.sessionIdChanged(Session session,
String oldSessionId) |
void |
SessionListeners.sessionIdChanged(Session session,
String oldSessionId) |
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 © 2020 JBoss by Red Hat. All rights reserved.