Uploaded image for project: 'OpenAM Agents'
  1. OpenAM Agents
  2. AMAGENTS-3679

JASPA: Fix problem with conditional login failing to match the incoming path correctly

    XMLWordPrintable

    Details

    • Target Version/s:
    • Verified Version/s:

      Description

      If you set the following two properties:

      org.forgerock.openam.agents.config.conditional.login.url[0]=/examples|?extra=examples
      org.forgerock.openam.agents.config.conditional.login.url[1]=/examples/samples|?extra=samples
      

      And then proceed to access a URL like this as an unathenticated user:

      http://openam.mydomain.com:8080/examples/samples/index.html
      

      The Agent will incorrectly set the "extra" parameter to "examples". This is because it is searching on the result of request.getContextPath, rather than the correct request.getRequestURI.

        Attachments

          Activity

            People

            Assignee:
            tony.bamford Tony Bamford
            Reporter:
            tony.bamford Tony Bamford
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: