Setting for session.timeout not working for Admin user after upgrade to 4.19
- 主要言語
- Java
- スター
- 3.1k
- フォーク
- 1.4k
- 平均マージ
- 6日 19時間
- マージ済み PR(30日)
- 32
説明
##### ISSUE TYPE
* Bug Report
##### COMPONENT NAME
~~~
UI
~~~
##### CLOUDSTACK VERSION
~~~
4.19
~~~
##### CONFIGURATION
NA
##### OS / ENVIRONMENT
CentOS 7
##### SUMMARY
After upgrade to 4.19, my web UI Session timeout of 30 minutes seems to have no impact when logged in as the admin user. It works for other users. My /etc/cloudstack/management/server.properties file's setting session.timeout=30 - which used to work earlier and session timed out at 30 minutes of inactivity.
Additionally, I am able to close brower tab (in which I am logged in as admin), open a new tab with original URL (copy paste) and it still works without asking to log in as admin - that is a security risk in my mind.
##### STEPS TO REPRODUCE
~~~
From 4.17 upgrade to 4.19. Verify session.timeout=30 in server.properies file
~~~
##### EXPECTED RESULTS
~~~
Timeout occurs as per the /etc/cloudstack/management/server.properties file's setting session.timeout for all users including admin.
~~~
##### ACTUAL RESULTS
~~~
Timeout is not respected when logged in as admin. I left a session open overnight and I was able to start working without login need.
When logged in as non-admin user, the timeout setting works.
~~~
コントリビューションガイド
調査の方向性
/etc/cloudstack/management/server.properties の session.timeout 設定から始め、4.17 から 4.19 へのアップグレード後に web UI が管理者ユーザーと非管理者ユーザーのセッションをどのように処理するかを追跡します。一晩、または 30 分間操作しないケースを再現し、その後、管理者セッションが期限切れになり、タブを再度開くと想定どおりログインが必要になることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- authentication, security
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100