Univention Bugzilla – Bug 52321
Reduce interval of get/session-info request
Last modified: 2022-05-06 16:27:54 CEST
Currently we are doing every 30 seconds a get/session-info request which asks for the session validity and checks if one is still logged in. If not one is redirected to the passive iframe SAML login to update the SAML assertion, which is only 5 minutes valid, and is required for LDAP and PAM authentication at the UMC-Server. We should reduce the polling to time_remaining - 30 = 270.
The session info is now fetched at session-timeout + 1. If the session is expired then, a login dialog is shown/passive SAML login is automatically done. If the session is timed out we check every 30 seconds again if there is a new session, which then sets the interval again to a longer value. univention-web.yaml cfc54e2bc95e | YAML Bug #52321 univention-web (3.0.5-49) 0fa9ea872c86 | Bug #52321: reduce polling of get/session-info univention-management-console.yaml cfc54e2bc95e | YAML Bug #52321 univention-management-console (11.0.5-13) 0fa9ea872c86 | Bug #52321: reduce polling of get/session-info
OK: timeout OK: session-timeout < 30 OK: YAML
<https://errata.software-univention.de/#/?erratum=4.4x822> <https://errata.software-univention.de/#/?erratum=4.4x824>