Package net.ltgt.oidc.servlet
Class InMemoryLoggedOutSessionStore
java.lang.Object
net.ltgt.oidc.servlet.InMemoryLoggedOutSessionStore
- All Implemented Interfaces:
LoggedOutSessionStore
An implementation of
LoggedOutSessionStore that stores session IDs in memory.-
Field Summary
Fields inherited from interface net.ltgt.oidc.servlet.LoggedOutSessionStore
CONTEXT_ATTRIBUTE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidForgets about the given session ID.booleanisLoggedOut(SessionID sessionID) Returns whether the given session ID has been logged out.voidRecords the given session ID as having been logged out at the OpenID Provider.
-
Constructor Details
-
InMemoryLoggedOutSessionStore
public InMemoryLoggedOutSessionStore()
-
-
Method Details
-
logout
Description copied from interface:LoggedOutSessionStoreRecords the given session ID as having been logged out at the OpenID Provider.Implementations could also directly invalidate the session if possible, rather than only marking it as logged out to later be invalidated by the
UserFilter. In this case, theBackchannelLogoutSessionListenermight not be necessary.- Specified by:
logoutin interfaceLoggedOutSessionStore- See Also:
-
isLoggedOut
Description copied from interface:LoggedOutSessionStoreReturns whether the given session ID has been logged out.- Specified by:
isLoggedOutin interfaceLoggedOutSessionStore- See Also:
-
forget
Description copied from interface:LoggedOutSessionStoreForgets about the given session ID.This method should be called when the corresponding
HttpSessionhas been destroyed, to release memory.- Specified by:
forgetin interfaceLoggedOutSessionStore- See Also:
-