tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steen Jost Jensen ...@itera.dk>
Subject Authentication problems
Date Thu, 20 Sep 2001 08:51:26 GMT
Hi all,

I've been looking through the FAQ's for a solution to my problems but I cant
seem to be able to find any, so now I try here.

My problem is that my tomcat (3.2.3) doesnt authenticate users.

I mean I get the login/password box ok, but the user gets in regardless of
what is written in those fields.

I have inserted in web.xml :
<security-constraint>
   <web-resource-collection>
      <web-resource-name>Protected Area</web-resource-name>
      <url-pattern>/*</url-pattern>	
   </web-resource-collection>
   <auth-constraint>
      <role-name>home</role-name>
   </auth-constraint>
</security-constraint>
<login-config>
   <auth-method>BASIC</auth-method>
   <realm-name>Protected area</realm-name>
</login-config>

and I've added a user with the home role in
$TOMCAT_HOME/conf/tomcat-users.xml

What am I missing ?

/Steen Jensen


Mime
View raw message