I am using tomcat 5.0.27
this is the part of the content in web.xml (/manager).
I could move further when the <role-name> * </role-name> in
http://localhost:8080/manager/html
if i specify the particular name an <role-name> manager </role-name> in the
same URL i am getting the error as HTTP Status 403.
what i have to do to proceed further by specifying the particular
rolename with out mentioning *.
Note: 1) for u clarification i have commented as prakash.
2) if i change it as BASIC authentication it's working fine in both
scenario
i want to do it in DIGEST Authentication.
<auth-constraint>
<!-- NOTE: This role is not present in the default users file -->
<!-- <role-name>*</role-name> prakash -->
<role-name>admin</role-name> <!-- added by prakash -->
<role-name>manager</role-name>
<realm-name>Tomcat Manager Application</realm-name>
</auth-constraint>
</security-constraint>
<!-- Define the Login Configuration for this Application -->
<login-config>
<auth-method>DIGEST</auth-method>
<realm-name>Tomcat Manager Application</realm-name>
</login-config>
<!-- Security roles referenced by this web application -->
<security-role>
<description>
The role that is required to log in to the Manager Application
</description>
<!-- <role-name>admin</role-name> added by prakash -->
<role-name>manager</role-name>
</security-role>
Prakash
-----Original Message-----
From: vineesh kumar [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 16, 2006 10:31 AM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: Re: Users
Simply edit
TOMCAT_INSTALLDIR/conf/tomcat-users.xml
and add the username and passowrd and role
role can be admin, manager,user etc u can specify more
than one role also. There are options to use a database realm of
users.for that check the apache documentation
On 3/16/06, Jeyabalan, Prakash <[EMAIL PROTECTED]> wrote:
> How to create the custom users in Tomcat 5.0.X
>
> Prakash/conf/tomcat-users.xml
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Vineesh Kumar
Software Engineer
ISS-RnD Department
HCL infosystems Ltd
Cochin
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]