> From: Bill Ross [mailto:r...@cgl.ucsf.edu] 
> Subject: configuring login for static content and Servlets

> Is it possible to set up a site so that you have to log in to access the site 
> at all, 
> either the static content or the servlet interface?

Read the "Specifying Security Constraints" section of the servlet spec (13.8 in 
the current version) to see how to protect all resources in a webapp.  If you 
want to protect all webapps, you can put the config statements in Tomcat's 
conf/web.xml file, and they will be automatically included in each webapp.

 - 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 unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to