In tomcat's conf directory there is a file called tomcat-users.xml.
There are a few user accounts already there (Tomcat 3.2.1), one is
called 'tomcat', having a role 'tomcat' (a bit confusing but Java
Servlet API Spec 2.2 might clear that up for you). Next set you web.xml
file up. Something like:
use security constaints in your deployment descriptor with a SimpleRealm or JDBCRealm:
Some Realm
/*
Admin
BASIC
Some Realm
--- Tim Kang <[EMAIL PROTECTED]> wrote:
> I was wondering if anybody knows how to password protect a directory in
> Tomcat environment
>
> Please let me know
>
I was wondering if anybody knows how to password protect a directory in
Tomcat environment
Please let me know
Thanks
Tim