Hello again,

Sorry all, my last post was incomplete, there should be an entry in
tomcat-users.xml like: 

  <user name="dave"   password="tomcat" roles="tomcat,role1,guest" />
  <user name="admin"   password="tomcat" roles="tomcat,role1,root" />

Cheers,
Dave

> -----Original Message-----
> From: McDonnell, David [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 28 February 2001 9:55
> To: '[EMAIL PROTECTED]'
> Subject: RE: Access denied 
> 
> 
> Hi Rama,
> > I did uncommented in Web.xml it, then it was not recognising 
> > any of the
> > tomcat users(Tomcat-users.xml). I don't know where i went wrong.
> 
> Have you set up the users with the right roles?? 
> 
>     <auth-constraint>
>       <role-name>root</role-name>
>       <role-name>guest</role-name>
>     </auth-constraint>
> 
> They need to have either root or guest as one of their roles. 
> 
> Cheers
> Dave
> 

Reply via email to