" If there are NO <http-method> elements, in the <web-resource-collection>, it would mean that ALL HTTP Methods are allowed."
However, this contradicts what's mentioned on 635, which says:
"If you do NOT specify any <http-method>, then you're constraining all HTTP methods."
So, which one is it?
There was a nice discussion on this topic about a month ago on this forum.
But I still remeber the FINAL WORD of that discussion.
The web-resource-collectionType is used to identify a subset
of the resources and HTTP methods on those resources within
a web application to which a security constraint applies. If
no HTTP methods are specified, then the security constraint
applies to all HTTP methods.
This quote is from the page 133 of the servlet 2.4 specification. Under the Deployment Descriptor bokkmark.
CONCLUSION: If you do not specify any <http-method> then all methods are constrained.
The original discussion is over here
Hope this helps