David,
As regards to where to define your users here what you have to do :-
tomcat-users.xml defines a set of roles and users with passwords.
Here's a snippet:-
<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>
What is done normally for the "admin" context is that the role of "admin"
is defined in the <security-constraint> of the web.xml of the admin context.
All you have to do is add a user with suitable userid and password with the
same roles as admin.
i.e. add the follwing line to your tomcat-users.xml
<user name="admin" password="admin" roles="admin" />
Then the userid/password is admin/admin
The server.xml explains clearly what the trusted attribute is supposed to
mean. Here's what it says:-
"trusted=false
(trusted allows you to access tomcat internal objects
with FacadeManager )"
Hope that helps
Anand
At 11:33 AM 10/22/2001 +0200, you wrote:
>Hello there,
>
>I tried following the instructions of how to manage the admin context in
>Tomcat 3.2.3, yet could not understand what to do...
>
>what is the "trusted" attribute in the <Context> tag in server.xml? where do
>I need to define users? in tomcat-users.xml? which role does the admin have?
>
>
>Please link me to a clear explanation page, or list the actions I should
>take... :o)
>
>Thanks in advance!
>David.