https://issues.apache.org/bugzilla/show_bug.cgi?id=47330

--- Comment #3 from Cyrille Le Clerc <cyrille.lecl...@pobox.com> 2009-10-11 
03:46:39 UTC ---
As Tomcat valves are currently being converted into Servlet Filter (1), here is
a Servlet Filter implementation of mod_remoteip we called XForwardedFilter : 
http://code.google.com/p/xebia-france/wiki/XForwardedFilter
http://xebia-france.googlecode.com/svn/web/xebia-servlet-extras/tags/xebia-servlet-extras-1.0.0/src/main/java/fr/xebia/servlet/filter/XForwardedFilter.java

Licensing and copyright

The XforwardedFilter code is still licensed ASL 2 but the copyright is for
"Xebia and the original author or authors" but we can change it to the usual
Apache Software Foundation license and copyright with great pleasure.

Implementation decisions

This filter has been developped before knowing that the Tomcat project would
move from Valve to Filter and is intended to be servlet container agnostic.

We decided to rely on SLF4J for logging to be as portable as possible.
Integrating this Filter in Tomcat project may require to migrate to JULI.

(1) Google Summer Of Code 2009, project "Convert current Tomcat valves to
Servlet Filters" : http://wiki.apache.org/tomcat/SummerOfCode2009

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to