Class JwtSessionManager
java.lang.Object
com.predic8.membrane.core.config.AbstractXmlElement
com.predic8.membrane.core.interceptor.authentication.session.SessionManager
com.predic8.membrane.core.interceptor.authentication.session.JwtSessionManager
- All Implemented Interfaces:
XMLElement,CleanupThread.Cleaner
-
Nested Class Summary
Nested classes/interfaces inherited from class com.predic8.membrane.core.interceptor.authentication.session.SessionManager
SessionManager.Session -
Field Summary
Fields inherited from class com.predic8.membrane.core.interceptor.authentication.session.SessionManager
SESSION, SESSION_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanup()createSession(Exchange exc) getKey()getSession(Exchange exc) voidvoidpostProcess(Exchange exc) Sets the Session Cookie on the response, if necessary (e.g.voidremoveSession(Exchange exc) voidvoidprotected StringsignSession(SessionManager.Session session, Exchange exc) protected SessionManager.SessionvalidateAndReconstructSession(String singedSession) Methods inherited from class com.predic8.membrane.core.interceptor.authentication.session.SessionManager
getCookieName, getDomain, getOrCreateSession, getTimeout, parseAttributes, setCookieName, setDomain, setTimeoutMethods inherited from class com.predic8.membrane.core.config.AbstractXmlElement
doAfterParsing, getBoolean, getElementName, move2RootElementIfNeeded, parse, parseCharacters, parseChildren, toXml, write, writeIfNotNull
-
Constructor Details
-
JwtSessionManager
public JwtSessionManager()
-
-
Method Details
-
getKey
-
setKey
-
init
- Overrides:
initin classSessionManager
-
validateAndReconstructSession
-
signSession
-
postProcess
Description copied from class:SessionManagerSets the Session Cookie on the response, if necessary (e.g. a session was created)- Overrides:
postProcessin classSessionManager
-
getSession
- Overrides:
getSessionin classSessionManager
-
createSession
- Overrides:
createSessionin classSessionManager
-
removeSession
- Overrides:
removeSessionin classSessionManager
-
removeSession
- Overrides:
removeSessionin classSessionManager
-
cleanup
public void cleanup()- Specified by:
cleanupin interfaceCleanupThread.Cleaner- Overrides:
cleanupin classSessionManager
-