:16:54 -0400 (Eastern Daylight Time)
From: David Gladstone [EMAIL PROTECTED]
Subject: password protection
To: [EMAIL PROTECTED]
i am trying to figure out how to password protect a
directory. i am
realativly new to tomcat. i know it its very easy to do in
apache with an
.htaccess file. but how
, April 11, 2002 5:46 PM
Subject: Re: password protection
I assume you are talking about a virtual web directory?
I just did this using JNDI and OpenLDAP using the Realm tag
inside the server.xml file. But you can also do this using a
JDBC Realm or the simple way (similar to the .htaccess
See the manager example that comes with tomcat.
You have to define a security constraint in web.xml, and specify
username / password in tomcat-users.xml
Ken
David Gladstone wrote:
i am trying to figure out how to password protect a directory. i am
realativly new to tomcat. i know it its very