互联网服务中间件WAS

如何在WAS上禁止所有用户发起的OPTIONS等之类的请求?

试过Web Application 2.3的写法,无效No http-method OPTIONSindex.htmlAll/*DELETEOPTIONSTRACE2.4的写法No http-method OPTIONSindex.htmlAll/*DELETEOPTIONSTRACE2.5的写法Excel Print No http-method OPTIONSindex.htmlAll/*DELETEOPTIONSTRACE均无效果,各位有弄过可以...显示全部
试过Web Application 2.3的写法,无效



"http://java.sun.com/dtd/web-app_2_3.dtd">


No http-method OPTIONS



index.html







All

/*

DELETE

OPTIONS

TRACE








2.4的写法

http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">

No http-method OPTIONS



index.html







All

/*

DELETE

OPTIONS

TRACE








2.5的写法

http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">

Excel Print No http-method OPTIONS



index.html







All

/*

DELETE

OPTIONS

TRACE








均无效果,各位有弄过可以的不?

同时我增加了角色

http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">

No http-method OPTIONS



index.html





Authenticated Users

EveryRole







All

/*

DELETE

OPTIONS

TRACE





EveryRole





NONE






也无果。。。奇怪。。。哪里写法或配置不对头?XMLSpy验证为合式的XML配置。 [ 本帖最后由 YuLimin 于 2010-3-15 13:07 编辑 ]收起
参与2

查看其它 1 个回答ziying的回答

ziyingziying系统工程师信息有限公司
security-role放security-constraint下面呢?
政府机关 · 2010-03-15
浏览592

回答者

ziying
系统工程师信息有限公司
擅长领域: 中间件应用服务器WAS

ziying 最近回答过的问题

回答状态

  • 发布时间:2010-03-15
  • 关注会员:0 人
  • 回答浏览:592
  • X社区推广