-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 13.0.0
-
Component/s: authentication, XUI
-
Labels:
-
Environment:OpenAM 13.0.0-SNAPSHOT Build 600d032087 (2015-November-25 02:05)
Resource query parameter does not work for policy condition Authenticate to realm and XUI
STEPS TO REPRODUCE
1.) Default installation of AM
2.) Create a subrealm
3.) Create a policy
- test
- http://www.profiq.com:*/*
- POST, GET = Allow
- Authenticated Users
- Condition= Auth. to a realm = /subrealm
Note: restrat AM for more info seeOPENAM-7580
4.) Hit the AM page with resource parameter
http://riso-centos7.test.forgerock.com:8080/openam/XUI/#login&resource=true&goto=http%3A%2F%2Fwww.profiq.com%3A80%2Findex.html
Observed result
- HTTP Status 404 - /UI/Login
- redirected to http://riso-centos7.test.forgerock.com:8080/UI/Login?realm=/subrealm&goto=http%3A%2F%2Fwww.profiq.com%3A80%2Findex.html
- "/openam" is missing in the URL
- If I add /openam by hand to URL it still does not work and I have to delete authid cookie
Expected result
Redirected to AM login page for subrealm
This issue is not true for old UI. I added output for XUI and UI into attachment. For UI I hit:
http://riso-centos7.test.forgerock.com:8080/openam/UI/Login?resource=true&goto=http%3A%2F%2Fwww.profiq.com%3A80%2Findex.html