anyone knows how to disable http methods such as put, delete on the jboss web server 7.0?
RewriteCond %{REQUEST_METHOD} ^(PUT|DELETE|TRACE|OPTIONS)$ [NC] is used for jboss6, but how can do on jboss7
anyone knows how to disable http methods such as put, delete on the jboss web server 7.0?
RewriteCond %{REQUEST_METHOD} ^(PUT|DELETE|TRACE|OPTIONS)$ [NC] is used for jboss6, but how can do on jboss7
Just add <security-constraint>
to web.xml
see for example Whitelist security constraint in web.xml