Uploaded image for project: 'Identity Gateway'
  1. Identity Gateway
  2. OPENIG-3296

UserProfileFilter and usernames with colons

    XMLWordPrintable

    Details

    • Story Points:
      1

      Description

      In org.forgerock.json.resource.http.CrestAdapter#prepareHttpRequest, when processing the org.forgerock.json.resource.Request#getResourcePath to generate the final URL, resource path values like demo:test break the final URL as rather than see the demo:test value as a path, it is interpreted as a URL with the scheme set to demo

      This was seen when IG is configured with a UserProfileFilter and the username of the user being looked up has a value of testing:123, rather than generate a URL like:
       
      http://openam.example.com:8080/json/realms/root/users/testing:123

      you just get

      testing:123

        Attachments

          Activity

            People

            Assignee:
            markdr Mark de Reeper
            Reporter:
            markdr Mark de Reeper
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: