tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "shlomi sarfati" <>
Subject RE: A Little message for Carlos !!!!
Date Thu, 22 Feb 2001 08:34:16 GMT
I hope I can help you guys
 I tried  this one on my win 2000 and it is working good .
 in your web.xml document you should add a <security-constraint> entry ,
define the url pattern that you want to protect  ( e.g 'myServlet' )
add the http methods that you want the security will work on (e.g: GET, POST
... )
after this you should determine who should log in with the  <login-config>
tag (e.g Admin)
the <realm-name> is in the tomcat users file .


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

  -----Original Message-----
  From: Negrini Lilian []
  Sent: Mon, April 07, 1980 1:17 AM
  Subject: A Little message for Carlos !!!!

  Hello !!!!

   I have the same problem than you, in configuring Tomcat. I want to
protect some pages with
  Login & password .. if someone have an solving for this, please forward it

   Thanks .... a lot !!!!


View raw message