[OPENAM-5922] Getting a user's resource sets from root realm doesn't work with realm override parameter Created: 29/Apr/15  Updated: 20/Nov/16  Resolved: 30/Apr/15

Status: Resolved
Project: OpenAM
Component/s: UMA
Affects Version/s: 13.0.0
Fix Version/s: 12.0.2, 12.0.3, 13.0.0

Type: Bug Priority: Major
Reporter: James Phillpotts Assignee: James Phillpotts
Resolution: Fixed Votes: 0
Labels: AME, TESLA, release-notes
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by OPENAM-6819 User Self Service does not work in AM... Closed
Relates
is related to OPENAM-5841 Realm override query parameter on log... Resolved
Target Version/s:
Sprint: Sprint 84 - Team Tesla
Support Ticket IDs:
Verified Version/s:

 Description   

When fetching a user's resource sets using the CREST endpoint for doing so, none are found when using the realm override parameter, ?realm=/



 Comments   
Comment by James Phillpotts [ 29/Apr/15 ]

Steps to reproduce:

  • Register a resource set
  • Go to the policy uri returned (needs OPENAM-5900 fix)
  • Examine the network requests made

Expected:

  • Resource set loaded

Actual:

  • Page not loaded properly
  • 404 response in the network tab
Comment by James Phillpotts [ 30/Apr/15 ]

Fixed by improving realm validation for root realm, which was turning "/" into "", which then didn't match the created resource set.

Comment by Peter Major [X] (Inactive) [ 01/May/15 ]

Since the fix seems to be generic (non-UMA related), we should investigate if this bug is present in 12.0.2.

Comment by Peter Major [X] (Inactive) [ 16/Sep/15 ]

Backported to 12.0.3 with R15735

Comment by Nemanja Lukic [ 24/Sep/15 ]

Verified in: OpenAM 12.0.2 Build 15797 (2015-September-21 17:41)

Generated at Fri Nov 27 06:27:39 UTC 2020 using Jira 7.13.12#713012-sha1:6e07c38070d5191bbf7353952ed38f111754533a.