I found the solution: add missing role "admin" that correlates with the security
role defined in `$TOMCAT_HOME/webapps/admin/WEB-INF.xml' !

pilgpe@xalan  (bash) [256] > cat $TOMCAT_HOME/conf/tomcat-users.xml
<tomcat-users>
  <!-- INSERT START -->
  <user name="admin"  password="d*rby23"  roles="admin, tomcat, role1" />
  <!-- INSERT END -->
  <user name="role1"  password="tomcat" roles="role1"  />
  <user name="tomcat" password="tomcat" roles="tomcat" />
  <user name="both"   password="tomcat" roles="tomcat,role1" />
</tomcat-users>

--
Peter Pilgrim
G.O.A.T
                    "the Greatest Of All Time"



---------------------------------------- Message History 
----------------------------------------


From: Aleksander Jonko <[EMAIL PROTECTED]>@java.sun.com> on 12/03/2001 09:25 CET
--<CUT>--

try in:
\tomcat\conf\server.xml
and
\tomcat\conf\web.xml

ja

Peter Pilgrim wrote:
>
> Where Is the Roles File for http://localhost:8080/admin/ located?
>
> I am using Tomcat 3.2 but cannot find the roles admin / password
> to change the authentication. Where is the security config file located
> for basic authentication?
>
--<CUT>--



--

This e-mail may contain confidential and/or privileged information. If you are not the 
intended recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorised copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to