tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Multiple paths to one application
Date Thu, 02 Nov 2006 15:31:25 GMT
> From: Peter Neu [mailto:peter.neu@gmx.net] 
> Subject: AW: Multiple paths to one application
> 
> My problem is that I have parts of my application which are 
> restricted and I just want to filter the path requests with
> the httpd server which sits in front of tomcat so that I
> don't to configure any additional realms. 

For Tomcat, a realm is a collection of authentication credentials and
the necessary logic to manipulate them - it's not an access control
mechanism.  For that, you use path-based <security-constraint>
declarations in your app's web.xml, as defined in section 12 of the
Servlet spec.  You don't need multiple realms for controlling access to
different parts of an application.

What are you using httpd for?  If it's just for delivering static
content, consider simplifying your life by getting rid of it and using
Tomcat standalone.  Performance is pretty much equivalent, these days.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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


Mime
View raw message