tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Baker <raschar...@yahoo.com>
Subject Re: authentication
Date Mon, 04 Jun 2001 02:42:28 GMT
I searched the list archives and found that there
needs to be a user with role=admin like so:

   <user name="admin"   password="some_hard_password"
 roles="admin" />

Also, in the server.xml the admin context should have
trusted="true" and password="some_hard_password", the
same as the one in the tomcat-users.xml file for
admin.

It works for me now.

--- Boris Garbuzov <boris.garbuzov@borealissoft.com>
wrote:
> When I am hitting admin application
>
http://localhost:8080/admin/contextAdmin/contextAdmin.html,
> it tries to
> authenticate me, but does not accept pairs from
> tomcat-users.xml. Can somebody
> explain me how to use this app?
> --------------
> <tomcat-users>
>   <user name="tomcat" password="tomcat"
> roles="tomcat" />
>   <user name="role1"  password="tomcat"
> roles="role1"  />
>   <user name="both"   password="tomcat"
> roles="tomcat,role1" />
> </tomcat-users>
> 
> 


=====
-
rascharles@yahoo.com
Hacking is a "Good Thing!"
See http://www.tuxedo.org/~esr/faqs/hacker-howto.html

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

Mime
View raw message