lmccay opened a new pull request #382:
URL: https://github.com/apache/knox/pull/382


   Change-Id: Id0b80df21c39b8af2a50c3543a121387e516410a
   
   (It is very **important** that you created an Apache Knox JIRA for this 
change and that the PR title/commit message includes the Apache Knox JIRA ID!)
   
   ## What changes were proposed in this pull request?
   
   
   
   In order for HttpServletRequest.getRequestURL to reflect the actual URL used 
by the user when going through a loadbalancer, we need to enable the embedded 
Jetty server's support for X-Forwarded Headers.
   
   This will be enabled by a gateway-site.xml config property to preserve 
backward compatibility and be enabled by default.
   
   ## How was this patch tested?
   This was tested via updated and added unit tests and manual testing with 
curl and browser to insure that X-Forwarded Headers
   properly drive the URLs for redirects and originalUrl creation within 
KnoxSSO.
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to