Secure attribute of Catalina SSL Connector(APR)

2012-04-01 Thread Teppei Yamada
Hi, I don't want every session cookies to be secure cookies, so I intentionally set secure attribute false in server,xml's SSL connector tag. (Actually tomcat native is compiled with OpenSSL and LD_LIBRARY_PATH is set, so the SSL connector is using APR in my case.) But even though doing above,

Implementing mod_headers for response in Tomcat7

2012-04-01 Thread Teppei Yamada
Hi, I wanted to write something similar to apache httpd's mod_headers so I read through Tomcat7.0.26 source code. Then I realized that that could not be achieved without modifying coyote's Abstract(Http11|Ajp)Processor.prepareResponse(). That can never be done by Valve because some HTTP headers

Re: Secure attribute of Catalina SSL Connector(APR)

2012-04-01 Thread Pid
On 01/04/2012 07:37, Teppei Yamada wrote: Hi, I don't want every session cookies to be secure cookies, so I intentionally set secure attribute false in server,xml's SSL connector tag. May I ask why? (Actually tomcat native is compiled with OpenSSL and LD_LIBRARY_PATH is set, so the

Re: Implementing mod_headers for response in Tomcat7

2012-04-01 Thread Pid
On 01/04/2012 10:15, Teppei Yamada wrote: Hi, I wanted to write something similar to apache httpd's mod_headers so I read through Tomcat7.0.26 source code. Then I realized that that could not be achieved without modifying coyote's Abstract(Http11|Ajp)Processor.prepareResponse(). That can

Tomcat 7 Maven plugin: deploy fails with tomcatManager status code:401, ReasonPhrase:Unauthorized

2012-04-01 Thread Matt Munz
Hi all, I'm trying to get the Tomcat 7 Maven plugin to work and I'm getting an authorization problem.[1] Here's the command that I'm running. [2] Here's the relevant snippet from tomcat-users.xml. [3] From the browser I am able to log on to the Manager with this account without problems.