You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Aldo Brucale <br...@imavis.com> on 2007/07/05 12:51:23 UTC
Apache httpd authentication before
Hello, I'm using Tomcat 5.5.20 and Sun Java 1.5.0_10 under Debian Linux,
using jk version 1.2.18 to connect from Apache. I would like to let
Apache do HTTP autentication before forwarding the requests to Tomcat:
is this possible?
Thank you in advance
Aldo
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Apache httpd authentication before
Posted by David Smith <dn...@cornell.edu>.
Yes.... just make sure you set tomcatAuthentication="false" in the
connector definition in server.xml for the AJP connector. That will
allow the REMOTE_USER header to make it through to your webapps.
--David
Aldo Brucale wrote:
> Hello, I'm using Tomcat 5.5.20 and Sun Java 1.5.0_10 under Debian
> Linux, using jk version 1.2.18 to connect from Apache. I would like
> to let Apache do HTTP autentication before forwarding the requests to
> Tomcat: is this possible?
>
> Thank you in advance
> Aldo
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Apache httpd authentication before
Posted by Filip Hanik - Dev Lists <de...@hanik.com>.
Aldo Brucale wrote:
> Hello, I'm using Tomcat 5.5.20 and Sun Java 1.5.0_10 under Debian
> Linux, using jk version 1.2.18 to connect from Apache. I would like
> to let Apache do HTTP autentication before forwarding the requests to
> Tomcat: is this possible?
yes it is,
and in tomcat's connector element you set
<Connector ... tomcatAuthentication="false"...
so that mod_jk will pass along the username from httpd authentication
Filip
>
> Thank you in advance
> Aldo
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org