tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Elli Albek <e...@sustainlane.com>
Subject Re: Cannot set remote address in valve (Tomcat 5.5)
Date Mon, 05 Oct 2009 07:13:40 GMT

----- Original Message -----
From: Christopher Schultz <chris@christopherschultz.net>
To: Tomcat Users List <users@tomcat.apache.org>
Sent: Fri, 2 Oct 2009 07:32:06 -0700 (PDT)
Subject: Re: Cannot set remote address in valve (Tomcat 5.5)


>> 2. There are other valves like request filters that cannot work without the
>> correct IP, as well as custom login valve.
>
> Filters should be OK providing they are defined in the right order.

> Aren't all Valves always called before Filters?

To be more specific, i was referring to a "request filter" that is implemented as a valve,
not as a servlet filter. One is shipped with tomcat already for filtering IPs. That valve
does not work behind a load balancer or a reverse proxy.

E

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message