互联网服务中间件WAS

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

试过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

2同行回答

YuLiminYuLimin资深技术顾问IBM广州
不是,这样即可:Application security    ==> Enable application security但问题又来了,当有OPTIONS会弹出验证框,如何不让弹出来?显示全部
不是,这样即可:
Application security  
  ==> Enable application security

但问题又来了,当有OPTIONS会弹出验证框,如何不让弹出来?收起
互联网服务 · 2010-03-15
浏览702
ziyingziying系统工程师信息有限公司
security-role放security-constraint下面呢?显示全部
security-role放security-constraint下面呢?收起
政府机关 · 2010-03-15
浏览579

提问者

YuLimin
资深技术顾问IBM广州
擅长领域: 中间件服务器应用服务器

相关问题

相关资料

相关文章

问题状态

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