Disable HTTP DELETE METHODs in Tomcat
Disable HTTP DELETE METHODs in Tomcat
How do I disable the HTTP DELETE methods in Tomcat v8.5.0?
Re: Disable HTTP DELETE METHODs in Tomcat
This is really a generic Tomcat question, not about our z/OS package.
Try google:
https://www.google.com/search?source=hp ... ete+method
Try google:
https://www.google.com/search?source=hp ... ete+method
Re: Disable HTTP DELETE METHODs in Tomcat
I found this on the net:
<security-constraint>
<display-name>Deny all HTTP methods except GET and POST</display-name>
<web-resource-collection>
<url-pattern>/company/*</url-pattern>
<http-method-omission>GET</http-method-omission>
<http-method-omission>POST</http-method-omission>
</web-resource-collection>
<auth-constraint/>
</security-constraint>
Hopefully that works.
<security-constraint>
<display-name>Deny all HTTP methods except GET and POST</display-name>
<web-resource-collection>
<url-pattern>/company/*</url-pattern>
<http-method-omission>GET</http-method-omission>
<http-method-omission>POST</http-method-omission>
</web-resource-collection>
<auth-constraint/>
</security-constraint>
Hopefully that works.
-
- Posts: 1
- Joined: Sun Oct 28, 2018 11:39 am
Re: Disable HTTP DELETE METHODs in Tomcat
That part is not functioning well.mbabcock wrote: ↑Mon Oct 15, 2018 1:45 pm I found this on the net:
<security-constraint>
<display-name>Deny all HTTP my sizegenetics www.virtualpalomarwest.org/sizegenetics-review methods except GET and POST</display-name>
<web-resource-collection>
<url-pattern>/company/*</url-pattern>
<http-method-omission>GET</http-method-omission>
<http-method-omission>POST</http-method-omission>
</web-resource-collection>
<auth-constraint/>
</security-constraint>
Hopefully that works.
Try updating the version may solve the issue as it has builtin delete methods.