keycloak-scim/docs/documentation/server_admin/topics/sessions.adoc

20 lines
940 B
Text
Raw Normal View History

2016-05-27 20:12:07 +00:00
2021-02-19 19:10:41 +00:00
== Managing user sessions
2016-05-27 20:12:07 +00:00
2021-02-19 10:34:22 +00:00
When users log into realms, {project_name} maintains a user session for each user and remembers each client visited by the user within the session. Realm administrators can perform multiple actions on each user session:
* View login statistics for the realm.
* View active users and where they logged in.
* Log a user out of their session.
* Revoke tokens.
* Set up token timeouts.
* Set up session timeouts.
ifeval::[{project_community}==true]
By default, online user and online client sessions are only kept in memory, and will be lost if all {project_name} nodes are shut down for maintenance or during upgrades.
If the feature `persistent-user-sessions` is enabled, {project_name} online user and online client sessions are saved to the database to persist them across restarts and upgrades.
See https://www.keycloak.org/server/caching[Configuring distributed caches] on how to configure this.
endif::[]