Restricting HTTP methods in Java J2EE 6

Last Modified: Fri, 11 Jan 2013 20:43:19 +0000 ; Created: Fri, 11 Jan 2013 20:43:19 +0000

I found a neat new feature of J2EE 6 which simplifies security configuration of applications. You can now whitelist versus blacklist allowed HTTP methods in your web.xml:
			<web-resource-name>Disable unneeded HTTP methods by 403 Forbidden them</web-resource-name>
		<auth-constraint />