Question on Client IP issue

Cantor, Scott cantor.2 at osu.edu
Tue Aug 5 16:41:19 EDT 2014


On 8/5/14, 4:35 PM, "Brewer, Edward L" <lee.brewer at Vanderbilt.Edu> wrote:

> How can I signal to the IdP the value set for X-Forwarded-For.  BTW I am
>not using Apache.

By configuring the container to provide that value for getRemoteAddr() in
the servlet API. I have no idea of any particular containers can do that.
If not, you would force it with a Java filter that did the override and
configure it in web.xml to wrap those requests. (If any containers support
this, that's likely how they would do it.)

There are probably some examples of that filter around the .net, it's a
pretty common thing.

-- Scott



More information about the users mailing list