自定义WebLogic Web服务策略 [英] Custom WebLogic Web Service Policy
问题描述
我将Weblogic 12.1.2用作JavaEE容器.我想使用我的自定义ws-security策略(因为weblogic预定义的ws-plocies具有IncludeTimestamp
,并且我想删除此标签).因此,我需要策略的xml文件之一,例如UsernameToken-Plain.xml才能对其进行编辑和使用.
在哪里可以找到该文件?
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?
推荐答案
I found that in oracle documentation they should be located in below path:
MW_HOME/WL_HOME/server/lib/weblogic.jar.在weblogic.jar中, 策略文件位于/weblogic/wsee/policy/runtime中.
MW_HOME/WL_HOME/server/lib/weblogic.jar. Within weblogic.jar, the policy files are located in /weblogic/wsee/policy/runtime.
但是,我找不到文件,最后我发现这些文件实际上位于MW_HOME/WL_HOME/modules/features/weblogic.server.merged.jar
和weblogic.server.merged.jar文件中:/weblogic/wsee/policy/runtime/
我不知道为什么文档不正确,可能是因为版本不正确(我使用的是12.1.2,而文档是针对12.1.1的),但是我在Oracle文档中看到了很多冲突(特别是在安全性部分),因此远.
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.
这篇关于自定义WebLogic Web服务策略的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!