扩展你的WebCenter_Spaces应用程序(22)

看海听风 分享 2021-06-03 下载文档

如何扩展WebCenter Spaces 应用程序

<description>Default JPS Keystore Service</description>

<property name="keystore.type" value="JKS"/>

<property name="keystore.csf.map" value="oracle.wsm.security"/>

<property name="keystore.pass.csf.key" value="keystore-csf-key"/>

<property name="keystore.sig.csf.key" value="enc-csf-key"/>

<property name="keystore.enc.csf.key" value="enc-csf-key"/>

</serviceInstance>

c. 备份cwallet.sso

d. 打开一个命令行

e.找到Jdeveloper安装目录C:\Jdev\jdeveloper\common\bin

f.运行以下命令In Windows: wlst.cmd 、In Linux: ./wlst.sh

g.Run: connect('admin_user', 'admin_password', 'host:port')

Where:

admin_user is the user name for the administrator of the server on which the application is running

(for example, weblogic)

admin_password is the password for the administrator

host:port is the server on which the application is running

h.Run the following commands:

createCred(map="oracle.wsm.security", key="enc-csf-key", user="alias",

password="key_password", desc="Enc Password")

createCred(map="oracle.wsm.security", key="sign-csf-key", user="alias",

password="key_password",desc="Enc Password")

createCred(map="oracle.wsm.security",key="keystore-csf-key",user="keystore-csf-key",

password="keystore_password", desc="Keystore password")

Where:

alias is the consumer public alias key in the keystore

key_password is the password for the public key

keystore_password is the keystore password

i.重启部署应用的服务器

4.设置WebCenter Spaces客户端上下文

a.当你部署在WLS上的应用程序调用Webcenter Spaces APIs时域范围内的配置被使用,除非你不

重写他们。使用GroupSpaceWSContext类提供的API覆盖或设置安全配置参数。

特别是,你必须为WebcenterSpaces设置SAML issuer name 和public key alias,这些都需要数

据加密。如果WebCenter Spaces Web service的端口没有设置在connections.xml文件中。你也

可以像如下这样设置:

GroupSpaceWSContext context = new GroupSpaceWSContext();

context.setEndPoint("endPointUrl");

context.setSamlIssuerName("samlIssuer");

context.setRecipientKeyAlias("producer");

groupSpaceWSClient = new GroupSpaceWSClient(context);

where:

1.endPointUrl是WebCenter Spaces Web service的端口,

如::8912/webcenter/SpacesWebService).


扩展你的WebCenter_Spaces应用程序(22).doc 将本文的Word文档下载到电脑

下一篇:蘑菇和其他食用菌罐头项目可行性研究报告方案(可用于发改委立项及银行贷款+2013详细案例范文)

相关推荐
相关阅读
本类排行
× 游客快捷下载通道(下载后可以自由复制和排版)

下载本文档需要支付 7

支付方式:

开通VIP包月会员 特价:29元/月

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:xxxxxx QQ:xxxxxx