Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove soft session lifetime completely #1344

Merged
merged 1 commit into from
Feb 6, 2018

Conversation

whisperity
Copy link
Contributor

#1301's removal of WWW-Authenticate broke the session handling logic that enabled us to have a soft and a hard life-time. (If the user had a session that soft-expired but didn't hard expire, the login window was infintiely looping.) Due to the server not storing anything user session specific within the session itself (it is just only used to allow privileged access), the soft lifetime's reason "with a login the user could get back settings stored for their session" is moot.

soft_expire has been removed completely from usage. If soft_expire is found in the server configuration, it is ignored. The previous logic of session_expire being a hard expire now becomes the only expire countdown. If this expires, the user has to log in again no matter what.

If soft-expire is ever to be introduced again, the logic on when and exactly how the user needs to be redirected need be revised.

@whisperity whisperity force-pushed the fix-session-handling branch from 1bf7cb7 to 47e005c Compare February 6, 2018 12:49
@gyorb gyorb added this to the release 6.5 milestone Feb 6, 2018
@gyorb gyorb merged commit 4d20937 into Ericsson:master Feb 6, 2018
@whisperity whisperity deleted the fix-session-handling branch January 24, 2019 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants