Custom WebLogic Web Service Policy

断了今生、忘了曾经 提交于 2019-12-12 03:28:17

问题


I use Weblogic 12.1.2 as the JavaEE container. I want to use my custom ws-security policy (because weblogic predefined ws-plocies has IncludeTimestamp and I want to remove this tag). Therefore I need one of the policies' xml file, for example UsernameToken-Plain.xml to edit it and use it. Where can I find this file?


回答1:


I found that in oracle documentation they should be located in below path:

MW_HOME/WL_HOME/server/lib/weblogic.jar. Within weblogic.jar, the policy files are located in /weblogic/wsee/policy/runtime.

However, I was not be able to find the files, finally I found that those files actually are located in MW_HOME/WL_HOME/modules/features/weblogic.server.merged.jar and in weblogic.server.merged.jar file: /weblogic/wsee/policy/runtime/ I don't know why the documentation is not right, maybe because of the version (I use 12.1.2 and the documentation is for 12.1.1) however I have seen a lot of conflicts in Oracle documentation (Specially in security sections) so far.



来源:https://stackoverflow.com/questions/37248565/custom-weblogic-web-service-policy

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!