java.lang.Object
org.yamcs.security.SessionManager
Implementation-agnostic session store. Sessions have a limited lifespan, but can be renewed before expiring.
In a future iteration, UserSession could be split into UserSession and ClientSession for covering implementations that support SSO across multiple clients (e.g. OIDC).
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateSession
(String login, String ipAddress, String hostname) getSession
(String id) void
renewSession
(String id)
-
Field Details
-
log
-
-
Constructor Details
-
SessionManager
public SessionManager()
-
-
Method Details
-
createSession
-
getSession
-
getSessions
-
renewSession
- Throws:
SessionExpiredException
-