Uploaded image for project: 'Cloud Enablement'
  1. Cloud Enablement
  2. CLOUD-2055

[EAP7] Configure proxy-address-forwarding="true" by default so that HttpServletRequest.getRemoteHost() returns client IP address instead of the OpenShift HAProxy router address

    XMLWordPrintable

    Details

    • Target Release:
    • Affects:
      Release Notes
    • Release Notes Text:
      Hide
      Feature: proxy-address-forwarding is now enabled by default in standalone-openshift.xml
      Reason: HTTP requests to EAP instance typically go via OpenShift HAProxy Router. Calling HttpServletRequest.getRemoteHost in this case would return the address of the HAProxy router, instead of the original client
      Result: HttpServletRequest.getRemoteHost() now returns the IP address of the original client for HTTP requests going via OpenShift HAProxy
      Show
      Feature: proxy-address-forwarding is now enabled by default in standalone-openshift.xml Reason: HTTP requests to EAP instance typically go via OpenShift HAProxy Router. Calling HttpServletRequest.getRemoteHost in this case would return the address of the HAProxy router, instead of the original client Result: HttpServletRequest.getRemoteHost() now returns the IP address of the original client for HTTP requests going via OpenShift HAProxy
    • Sprint:
      CLOUD Maintenance Sprint 12

      Description

      To be consistent with the JWS and EAP6 images behavior, EAP7 should configure undertow proxy-address-forwarding by default

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  bdecoste William DeCoste
                  Reporter:
                  maschmid Marek Schmidt
                  Tester:
                  Marek Schmidt
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: