Thank you very much it worked
Kind regards
Harish Gundecha
Systems Administrator
Email: [EMAIL PROTECTED]
Versaware Technologies (India) Pvt. Ltd.
Phone : +91-20-6136028   Extn: 331
----- Original Message -----
Sent: Sunday, January 07, 2001 3:11 AM
Subject: Re[2]: UserID and Passwd for the context Admin ???


Saturday, January 06, 2001, 2:20:09 PM, you wrote:

> I am sorry but even after changing the tomcat-users.xml file it doesnot work
> !!!

In webapps/admin/WEB-INF/web.xml there's somtheing like this:

<web-app>
    <security-constraint>
      ...
      <auth-constraint>
         <role-name>admin</role-name>
      </auth-constraint>
    </security-constraint>

    <login-config>
      <auth-method>BASIC</auth-method>
      <realm-name>admin</realm-name>
    </login-config>
</web-app>

Try adding this into conf/tomcat-users.xml:

<tomcat-users>
  ...
  <user name="admin" password="tomcat" roles="admin" />
</tomcat-users>

----                                                                ----
patrik.beno@{qbizm.com|inmail.sk}                           ICQ#98931498    
--                                                                    --
Patrik Beno                                     Qbizm technologies, Inc.
developer                                       ... the art of internet.
------------------------------------------------------------------------
Kralovopolska 139                                  tel: +420 5 4124 2414
601 12 Brno, CZ          http://www.qbizm.com      fax: +420 5 4121 2696



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to