[PATCH]: X-Forwarded-For support

2009-12-11 Thread Brane F. Gračnar
Hello :) This patch adds support for X-Forwarded-For (or any other) http request header holding ip address of real client so that request.getRemoteAddr() return correct address if tomcat is running behind apache or any other reverse http proxy. Best regards, Brane Index: java/org/apache/catali

[PATCH]: Session cookie domain/path support

2009-12-11 Thread Brane F. Gračnar
Hello :) This patch adds support for configuring session cookie domain and path parameter on per-context basis. Configuration is done by editing META-INF/context.xml Applies to 6.0.20. Best regards, Brane Index: java/org/apache/catalina/core/StandardContext.java =

Re: [PATCH]: configurable session cookie domain (subdomain session support)

2009-04-06 Thread Brane F. Gračnar
On Monday 06 April 2009 18:19:26 Mark Thomas wrote: > Please create a bugzilla entry for this and attach the patch there so it > doesn't get lost. Done. > To keep this consistent with httpOnly, this should be configured at the > Context level rather than the manager. Ok, this makes sense. I'll t

[PATCH]: configurable session cookie domain (subdomain session support)

2009-04-06 Thread Brane F. Gračnar
Hello :) We needed subdomain session cookie support for our java webapp; currently there is no way to configure cookie domain attribute in tomcat <= 6.0.18. This patch adds this functionality. Cookie domain can be specified as Manager property (default null == turned off) in conf/context.xml or