tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ed Thompson" <>
Subject security_constraint question
Date Sat, 22 Jun 2002 19:41:55 GMT
OK, rookie question....

I have a file in $TOMCAT_HOME/webapps/comics  (index.html)

$TOMCAT_HOME/webapps/comics/WEB-INF/web.xml has:

         <web-resource-name>Protected Area</web-resource-name>
     <!-- Define the context-relative URL(s) to be protected -->
     <!-- If you list http methods, only those methods are protected -->
         <!-- Anyone with one of the listed roles may access this area -->

I have is set up for BASIC as my auth-method.  Pretty much cut and paste
form the examples directory.

However, on my browser when I go to //thompson3:8080/comics, it takes me
right to index.html.
Why does it not require me to login first?  What have a missed in the Tomcat

Help greatly appreciate - been struggling with this for a couple of days...

(PS - the examples works great - going to
//thompson3:8080/examples/jsp/security/protected forces a login)

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message