tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Tinnes" <tin...@ecliptictech.com>
Subject RE: admin user/password
Date Tue, 24 Oct 2000 23:03:34 GMT

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

-----Original Message-----
From: Joe Emenaker [mailto:joe@emenaker.com]
Sent: Tuesday, October 24, 2000 6:05 PM
To: tomcat-user@jakarta.apache.org
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



Mime
View raw message