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

Admin Session Timeout doesn't work #24982

Open
williamkida opened this issue Jun 7, 2024 · 4 comments
Open

Admin Session Timeout doesn't work #24982

williamkida opened this issue Jun 7, 2024 · 4 comments

Comments

@williamkida
Copy link

williamkida commented Jun 7, 2024

This problem is easily reproducible.

Context:
Eclipse GlassFish 7.0.14
JDK versions 11.0.22
JDK version 17.0.8
JDK version 21.0.2
Windows 11 Pro
Derby 10.15.2.0


Reproduce by doing the following:

  1. In Glassfish Admin Console go to Domain -> Applications Configuration -> Admin Session Timeout.
  2. Change Admin Session Timeout to 0, which should mean that the Admin Console never times out.
  3. Wait for 30 minutes.
  4. Click on any Admin Console link. Expected behavior: the Admin Console will remain logged in as user admin, it will not require another login.
  5. Result: You will be directed to the login page.
@OndroMih
Copy link
Contributor

Hi, I tried to reproduce this but it seems to work. To session timeout is applied on the next login. So you need to log out and log in to apply the new timeout. Then it works. I tried to set the timeout to 1 and I got a login screen after 1 minute. When I set it to 0, the session wasn't logged out even after 60 minutes of inactivity.

@williamkida
Copy link
Author

Hi, thanks for the reply, what version of Glassfish are you using, and what version of Java and what operating system?

@OndroMih
Copy link
Contributor

I most probably used Zulu JDK 17 on Linux (Ubuntu) and GlassFish 7.0.14 or the latest version at that time.

@williamkida
Copy link
Author

Still doesn't work for me, I'm using Windows 11, Glassfish 7.0.14, JDK 11.0.22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants