Interface LoggedOutSessionStore
- All Known Implementing Classes:
InMemoryLoggedOutSessionStore
SessionID values of sessions logged out with the OpenID Connect Back-Channel
Logout protocol through the BackchannelLogoutServlet.
Those sessions will be invalidated by the UserFilter when a corresponding HttpSession is being used. The BackchannelLogoutSessionListener is responsible for notifying this store of the
SessionID that are being used by sessions.
Implementations could also directly invalidate the session if possible, rather than only
somehow marking it as logged out to later be invalidated by the UserFilter. In this case,
the BackchannelLogoutSessionListener might not be necessary depending on the
implementation.
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault voidAssociates the OpenID Provider session ID with a new application's HTTP session.default 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.default voidDissociates the OpenID Provider session ID from an application's HTTP session.default voidNotifies the store that the application's HTTP session, associated with a given OpenID Provider session ID, has changed ID.
-
Field Details
-
CONTEXT_ATTRIBUTE_NAME
-
-
Method Details
-
logout
Records 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 depending on the implementation.- See Also:
-
isLoggedOut
Returns whether the given session ID has been logged out.Called by
UserFilterto possibly invalidate sessions as they're being tentatively used.- See Also:
-
acquire
Associates the OpenID Provider session ID with a new application's HTTP session.- See Also:
-
release
Dissociates the OpenID Provider session ID from an application's HTTP session.- See Also:
-
renew
Notifies the store that the application's HTTP session, associated with a given OpenID Provider session ID, has changed ID.
-