-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Arnab,
On 10/4/13 9:10 AM, Arnab Majumder wrote: > I am still getting the error 403 forbidden (Access to the > specified resource has been forbidden). Which resource? (Not that it matters) > <!-- <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? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJSTsvHAAoJEBzwKT+lPKRYkq0QAJEqb1mKsEHVg9YiCaN5Di1s FwxnpSz0nOfTyVaS+X9Mmdtq2r00QFwiVwOTYTcanw41yynmKnMprcco3eLtmJEf /N5RtlWtuJ3zUmHV1IcNdzvkapYjPuvjtJOHd5Mrml8sUgerlOHLmUyTJ9E/UcwY oY5HrRLyGwx9Eku0txQyMSGEUWnkcFshwTBeH/mzPA88KHdvMci6VkR6w9SwZk8I DNN4XZErBFABVGmnk+UUa31GyVgxIes2CM3q96FL22FaXRVXT23XIwdiVnbBQOIv LPEFCk92ENB1eLtTrivQ4sNulOnH5jTxHSRwNXHS3F5nFYhaLy3DqGmg+bSLVw9B 9khT5CGcG1at89ukIjzwh7fHyaNfxy7634vf5H9dnaTzK3X+TdMWBYzQQDfyE7R/ nidutZFcXPAMu5/KqYJlqe5mHU0u6pESjVzj3r4BJ5BLchFQ3KfKi1X2fOJsuahz mCVrIUFBZVHt5MReqGSiBixPWLWuYn4Zy63bYDwFJLYyXC16GdPMWtIBWIYWuzk5 0UCGRylkg+kn3fjMR3e5Z/qo4vgMVl+e28YsQEFJr72qiLE5q9hKGftBassDLBrH yoMv+KThE0hKf0D8nUSjIAbF9DCvkQy8yE221G1zEqIj19CqPlVqWkgqnS+RYFX0 H6Gc+PLCVbvta29i5MWl =vJe2 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org