Bug 709724
Summary: | On submit, Satellite gives '403 Forbidden' when the session expired | ||
---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Šimon Lukašík <slukasik> |
Component: | WebUI | Assignee: | Milan Zázrivec <mzazrivec> |
Status: | CLOSED ERRATA | QA Contact: | Dimitar Yordanov <dyordano> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 541 | CC: | cperry, dyordano, jhutar, tlestach |
Target Milestone: | --- | Keywords: | Regression |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | spacewalk-java-1.2.39-94 | Doc Type: | Bug Fix |
Doc Text: |
Previously, when a session expired, the web user interface displayed an HTTP 403 error page (Forbidden). This update adapts the web user interface to prompt user for a new login in this situation.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2011-09-05 07:07:52 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 715348 |
Description
Šimon Lukašík
2011-06-01 13:53:12 UTC
*** Bug 712853 has been marked as a duplicate of this bug. *** Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Cause: A bug in RHN Satellite code. Consequence: When webui user's session expired, webui would return HTTP/403 error rather than redirecting the user to a login screen. Fix: The fix seems quite clever to me. Result: In the described situation, RHN Satellite prompts user for a new login rather than showing an HTTP/403 error. Fix for problem described in comment #10: spacewalk.git master: 614b467c7eae6986dae3d51db129d9e416cb4411 satellite.git SATELLITE-5.4: 68d61c99fd407646e491594165c30139e2c0acdd For GET requests, after re-login we can safely redirect to the previous page. For POST requests, we need to bounce to the default URL (YourRhn.do), since: 1. After user re-logins, we use HTTP redirect to be able to return to previous page 2. Browser uses a GET method for the url provided by the redirect 3. The action which we are about to redirect to, may not allow GET Verified. RHEL5/6 spacewalk-java-1.2.39-94.el5sat spacewalk-java-lib-1.2.39-94.el5sat spacewalk-taskomatic-1.2.39-94.el5sat spacewalk-java-config-1.2.39-94.el5sat spacewalk-java-oracle-1.2.39-94.el5sat Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1,7 +1 @@ -Cause: A bug in RHN Satellite code. +Previously, when a session expired, the web user interface displayed an HTTP 403 error page (Forbidden). This update adapts the web user interface to prompt user for a new login in this situation.- -Consequence: When webui user's session expired, webui would return HTTP/403 error rather than redirecting the user to a login screen. - -Fix: The fix seems quite clever to me. - -Result: In the described situation, RHN Satellite prompts user for a new login rather than showing an HTTP/403 error. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-1252.html |