tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Boston" <>
Subject need help with security setup
Date Wed, 30 Aug 2000 19:50:19 GMT

I am basing my security setup on the tomcat 3.1 examples/web-
inf/web.xml example.

I have a context "bottle"


This context is created by Tomcat and its servlets are reachable 
through that context.

in the above web.xml file I have these lines :

     <web-resource-name>Bottle Protected</web-resource-name>

    <!-- Default login configuration uses BASIC authentication -->
      <realm-name>Bottle Protected </realm-name>

It seems to me that this is identical to tomcat's 
examples/jsp/protected -- which works. I can not enter the 
jsp/protected area without supplying a valid user and pass.

However I get a 404 on  http://localhost:8080/bottle/j_security_check

By the way -- do I have to store my users in tomcat-users.xml? 

View raw message