问题描述
- 安全问题解决,springMVC+linux+oracle搭建项目,报开启不安全http方法
- fortune
/*
PUT
DELETE
HEAD
OPTIONS
TRACE
解决方案
fortune
/*
PUT
DELETE
HEAD
OPTIONS
TRACE
BASIC
解决方案二:
<security-constraint> <web-resource-collection> <web-resource-name>fortune</web-resource-name> <url-pattern>/*</url-pattern> <http-method>PUT</http-method> <http-method>DELETE</http-method> <http-method>HEAD</http-method> <http-method>OPTIONS</http-method> <http-method>TRACE</http-method> </web-resource-collection> <auth-constraint> </auth-constraint> </security-constraint> <login-config> <auth-method>BASIC</auth-method> </login-config>
解决方案三:
逐步隔离几个HTTP 操作,看具体是哪一个
解决方案四:
怎么隔离啊,DELETE方法,web.xml已经配置这个也解决不了吗?
时间: 2024-09-27 15:45:06