tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <>
Subject Re: How to Configure Basic Auth When Using mod_jk
Date Fri, 08 Jan 2010 18:15:53 GMT
On 08/01/2010 16:51, cgswtsu78 wrote:
> Hello, 
> I'm using mod_jk to forward all apache requests to /reportsvcs_ws/* to
> tomcat and I have a question regarding basic auth.  I need to ensure the
> user has been authorized prior to the /reportsvcs_ws/* request and I'm
> unsure as the best angle to take.  Is there anything that can be configured
> on the apache side prior to the mod_jk forwarding to tomcat to ensure the
> user is authorized?

Yes. Configure BASIC auth in httpd for the resources you want to protect
and httpd will take care of that for you.

mod_jk will also pass the authenticated user identity to Tomcat if you
need it in your app.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message