Bug 1097106
Summary: | Login page is shown for a while even when you are already logged in | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Filip Brychta <fbrychta> |
Component: | Core UI | Assignee: | RHQ Project Maintainer <rhq-maint> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 4.11 | CC: | hrupp, jkremser |
Target Milestone: | --- | ||
Target Release: | RHQ 4.12 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-12-15 11:36:18 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Filip Brychta
2014-05-13 07:34:20 UTC
A) It's not "~ 1-2 seconds" but couple milliseconds on my laptop B) One should access "http://<yourRHQserver>:7080/coregui/" instead of "http://<yourRHQserver>:7080/" that contains a redirect to "http://<yourRHQserver>:7080/coregui/login" (that's why you see the login page for a moment) C) It is a trade-off between the two following situations, lets call them I and II. I. having this redirect as the current implementaion has, i.e. * when not logged in it is 1 redirect (/ -> /coregui/login) * when logged in: 2 redirects (/ -> /coregui/login -> /coregui) II. having it vice-versa, i.e. * when not logged in: 2 redirects (/ -> /coregui/ -> /coregui/login) * when logged in: 1 redirect (/ -> /coregui/) I would appreciate any input here. To some extent, I agree, it can be done by II scenario. Code-wise it is a 1 liner, but then there will be 2 redirects when user is not logged in. The login process is simply different as it was before, because there is a new pure-HTML page because of the PatternFly LnF. Either way, I is a minor one. The current impl. has 1 significant flaw that is the blue screen which blinks during the 2-redirects scenario. The suggested approach (II) does the same, but the intermediate page is blank, so it is less evil to me. branch: master link: https://github.com/rhq-project/rhq/commit/5a3382f71 time: 2014-05-15 15:04:29 +0200 commit: 5a3382f71e34e8732ca61f7e53eff40a7347f351 author: Jirka Kremser - jkremser message: [BZ 1097106] - Login page is shown for a while even when you are already logged in - Redirecting from / to /coregui not to /coregui/login, because if user is logged in she sees the "blue-screen-of-login™" Verified on: Version : 4.12.0-SNAPSHOT Build Number : 494e428 Bulk close of items fixed in RHQ 4.12 If you think this is not solved, then please open a *new* BZ and link to this one. |