> From: Christopher Schultz [mailto:ch...@christopherschultz.net] 
> Subject: Re: Getting error 403 forbidden while using HTTP PUT method

> > <!--  <security-constraint> <web-resource-collection> 
> > <web-resource-name>ABC</web-resource-name> 
> > <url-pattern>/api/mode</url-pattern> 
> > <http-method>DELETE</http-method> <http-method>PUT</http-method> 
> > <http-method>HEAD</http-method> <http-method>OPTIONS</http-method> 
> > <http-method>TRACE</http-method> <http-method>GET</http-method> 
> > <http-method>POST</http-method> </web-resource-collection> 
> > <user-data-constraint> 
> > <transport-guarantee>NONE</transport-guarantee> 
> > </user-data-constraint> </security-constraint> -->

> > <!-- <security-constraint> <web-resource-collection> 
> > <web-resource-name>ABC</web-resource-name> 
> > <url-pattern>/*</url-pattern> <http-method>PUT</http-method> 
> > </web-resource-collection> <auth-constraint> 
> > <role-name>admin</role-name> </auth-constraint> 
> > </security-constraint>

> Looks like the above is the problem: you have a constraint on the PUT
> method, but no other methods. What were you expecting?

There's no such constraint indicated; all of the above is commented out.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to