Bug 52321 - Reduce interval of get/session-info request
Reduce interval of get/session-info request
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 4.4
Other Linux
: P5 normal (vote)
: UCS 4.4-6-errata
Assigned To: Florian Best
Dirk Wiesenthal
:
Depends on:
Blocks: 54729
  Show dependency treegraph
 
Reported: 2020-11-06 16:30 CET by Florian Best
Modified: 2022-05-06 16:27 CEST (History)
0 users

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2020-11-06 16:30:03 CET
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.
Comment 1 Florian Best univentionstaff 2020-11-09 17:33:47 CET
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
Comment 2 Dirk Wiesenthal univentionstaff 2020-11-24 17:46:47 CET
OK: timeout
OK: session-timeout < 30
OK: YAML