You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Th...@Sparkassen-Informatik.de on 2007/06/18 11:03:33 UTC

Trouble with mod_jk and passthrough authentication [Virus checked]

Hi,

I have a webapp running in Tomcat which authenticates the user logged on 
the windows box against a active directory domain. Everything workes fine 
when using tomcat directly, using Apache 2.0.49 with AJP 1.2.10 I get an 
"401 Authentication required" error from the webapp.
It seems Apache does receive the username/password from the browser but 
does not forward it via AJP to tomcat.

I tried googling around but could not come up with a clear description if 
AJP13 does support this kind of passthrough.

Can that be done with mod_jk or do I have to use some other module?

Regards

Thomas

Re: Trouble with mod_jk and passthrough authentication [Virus checked]

Posted by Peter Rossbach <pr...@objektpark.de>.
Hi,

Which auth method and realm config you use at your webapp?
Which auth method you use at your apache config?

The AJP protocoll transfer all auth information from apache to tomcat.
With ajp connector attribute tomcatAuthentication="true" (default)  
tomcat reauth the request.

regards
Peter

PS: Please update newer mod_jk version!

Am 18.06.2007 um 11:03 schrieb Thomas.Krug@Sparkassen-Informatik.de:

> Hi,
>
> I have a webapp running in Tomcat which authenticates the user  
> logged on
> the windows box against a active directory domain. Everything  
> workes fine
> when using tomcat directly, using Apache 2.0.49 with AJP 1.2.10 I  
> get an
> "401 Authentication required" error from the webapp.
> It seems Apache does receive the username/password from the browser  
> but
> does not forward it via AJP to tomcat.
>
> I tried googling around but could not come up with a clear  
> description if
> AJP13 does support this kind of passthrough.
>
> Can that be done with mod_jk or do I have to use some other module?
>
> Regards
>
> Thomas


---------------------------------------------------------------------
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: Trouble with mod_jk and passthrough authentication [Virus checked]

Posted by Rainer Jung <ra...@kippdata.de>.
http://marc.info/?l=tomcat-user&m=118117027608411&w=2

Unrelated, but: you should consider upgrading mod_jk. 1.2.20 is very 
outdated and misses a lot of new features. At the moment we are at 1.2.23...

Thomas.Krug@sparkassen-informatik.de wrote:
> Hi,
> 
> I have a webapp running in Tomcat which authenticates the user logged on 
> the windows box against a active directory domain. Everything workes fine 
> when using tomcat directly, using Apache 2.0.49 with AJP 1.2.10 I get an 
> "401 Authentication required" error from the webapp.
> It seems Apache does receive the username/password from the browser but 
> does not forward it via AJP to tomcat.
> 
> I tried googling around but could not come up with a clear description if 
> AJP13 does support this kind of passthrough.
> 
> Can that be done with mod_jk or do I have to use some other module?
> 
> Regards
> 
> Thomas

---------------------------------------------------------------------
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