Justin Morgan - Logic Sector wrote:
Hi Tomcat users,
Maybe I'm not googling with the right keywords, but I can't seem to find
a simple answer to this...
I have a standard Tomcat 6.0.10 installation (no Apache httpd front end
or anything). All the contents of the webapps directory have been
removed, and a single web app has been deployed -- my root application
(ROOT.war). Very simple, and all's working great.
Here's the part I need help with: Now I want Tomcat to require a login
panel before anyone can access the application.
How to I get Tomcat to force a login panel when users access the root
web app? (Basically I'm looking for the same sort of functionality you
get with Apache .htaccess files etc but without the extra complexity of
integrating with Apache httpd).
Any tips or pointers greatly appreciated! Thanks!
Take a look a the security section of the Servlet spec. For hints, look in
the web.xml for the manager app that comes with Tomcat.
Mark
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]