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

information about x-forwarded-for header used from proxy is missing in documentation

    XMLWordPrintable

    Details

      Description

      When

      com.sun.identity.agents.config.override.host=true

      documentation says, that

      com.sun.identity.agents.config.agenturi.prefix

      is used to overwrite host name.

      in AMAGENTS-2113 and AMAGENTS-1370 if we set headers in proxy configuration (haproxy in this example):

          http-request set-header X-Forwarded-Proto "http, http"
          http-request set-header X-Forwarded-Host "reverseproxy.test.forgerock.com, reverseproxy.test.forgerock.com" 
          http-request set-header X-Forwarded-Port "80, 80"
      

      then these are used to overwrite host. 

      com.sun.identity.agents.config.agenturi.prefix

      is used only if these headers are not available.

        Attachments

          Issue Links

            Activity

              People

              cristina.herraz Cristina Herraz [X] (Inactive)
              lubomir.mlich Ľubomír Mlích
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: