Package org.pac4j.undertow.context
Class UndertowSessionStore
java.lang.Object
org.pac4j.core.context.session.PrefixedSessionStore
org.pac4j.undertow.context.UndertowSessionStore
- All Implemented Interfaces:
org.pac4j.core.context.session.SessionStore
public class UndertowSessionStore
extends org.pac4j.core.context.session.PrefixedSessionStore
Specific session store for Undertow relying on the
SessionManager and SessionConfig.- Since:
- 1.1.0
- Author:
- Jerome Leleu
-
Constructor Summary
ConstructorsModifierConstructorDescriptionUndertowSessionStore(io.undertow.server.HttpServerExchange exchange) protectedUndertowSessionStore(io.undertow.server.HttpServerExchange exchange, io.undertow.server.session.Session session) -
Method Summary
Modifier and TypeMethodDescriptionOptional<org.pac4j.core.context.session.SessionStore>buildFromTrackableSession(org.pac4j.core.context.WebContext context, Object trackableSession) booleandestroySession(org.pac4j.core.context.WebContext context) io.undertow.server.session.SessionConfiggetSessionId(org.pac4j.core.context.WebContext context, boolean createSession) io.undertow.server.session.SessionManagergetTrackableSession(org.pac4j.core.context.WebContext context) booleanrenewSession(org.pac4j.core.context.WebContext webContext) voidvoidsetSessionCookieName(String sessionCookieName) Methods inherited from class org.pac4j.core.context.session.PrefixedSessionStore
computePrefixedKey, getPrefix, setPrefix
-
Constructor Details
-
UndertowSessionStore
public UndertowSessionStore(io.undertow.server.HttpServerExchange exchange) -
UndertowSessionStore
protected UndertowSessionStore(io.undertow.server.HttpServerExchange exchange, io.undertow.server.session.Session session)
-
-
Method Details
-
getSessionId
-
get
-
set
-
getSessionManager
public io.undertow.server.session.SessionManager getSessionManager() -
getSessionConfig
public io.undertow.server.session.SessionConfig getSessionConfig() -
destroySession
public boolean destroySession(org.pac4j.core.context.WebContext context) -
getTrackableSession
-
buildFromTrackableSession
-
renewSession
public boolean renewSession(org.pac4j.core.context.WebContext webContext) -
getSessionCookieName
-
setSessionCookieName
-