I'm also using 3.2b6 which may be a factor.

-----Original Message-----
From: Joe Emenaker [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 24, 2000 6:05 PM
To: [EMAIL PROTECTED]
Subject: Re: admin user/password


> but the login still fails after 3 attempts. I don't have to change the
realm
> do I?

Beats me, here's what worked for me:

===================
/etc/tomcat/tomcat-users.xml
===================
<tomcat-users>
  <user name="tomcat" password="tomcat" roles="tomcat" />
  <user name="role1"  password="tomcat" roles="role1,admin"  />
  <user name="both"   password="tomcat" roles="tomcat,role1" />
</tomcat-users>

==============================
/usr/share/tomcat/webapps/admin/WEB-INF/web.xml
(portion)
==============================
      </web-resource-collection>
      <auth-constraint>
         <role-name>tomcat</role-name>
      </auth-constraint>
    </security-constraint>

    <login-config>
      <auth-method>BASIC</auth-method>
      <realm-name>Admin</realm-name>
    </login-config>



You may have to restart the server, too....

- Joe


Reply via email to