|
Jarek Gawor made changes - 31/Dec/08 08:19 PM
Jacek Laskowski made changes - 06/Jan/09 03:53 PM
Why is there httpMethod not httpMethods (plural)?
Because 1) you specify it as multiple elements (not a single one), for example:
<http-method>POST</http-method> <http-method>GET</http-method> instead of: <http-methods>POST GET PUT</http-method> and 2) it matches the name of the element in the web.xml schema (see http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd) which provides the same type of functionality for servlets, jsps, etc.
Patch applied in 732158. Thanks Jarek!
Jacek Laskowski made changes - 06/Jan/09 10:38 PM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The assumption is that if there are no http-method elements in the DD all HTTP methods are automatically secured.