WebCenter与OAM单点登录集成
配置步骤和其他基于OPSS应用的SSO大同小异,一些相同的东西就不做描述了。
直奔正题:
配置步骤
整个配置过程主要有以下几个步骤:
1. 准备工作:安装所需中间件软件
- l OAM
- l Webcenter
- l Webtier
- l Webgate
2. 部署webtier
3. 部署webgate
4. 配置OID与weblogic集成
5. 配置Weblogic Provider
6. 配置Webcenter SSO服务
7. 配置discussions
部署webtier
修改mod_wl_ohs.conf文件,设置其为webcenter proxy
添加以下内容到该文件:
<Location /webcenter>
SetHandler weblogic-handler
WebLogicHost portaldev.XXXXX.com.cn
WebLogicPort 8888
</Location>
<Location /rss>
SetHandler weblogic-handler
WebLogicHost portaldev.XXXXX.com.cn
WebLogicPort 8890
</Location>
<Location /owc_wiki>
SetHandler weblogic-handler
WebLogicHost portaldev.XXXXX.com.cn
WebLogicPort 8890
</Location>
<Location /owc_discussions>
SetHandler weblogic-handler
WebLogicHost portaldev.XXXXX.com.cn
WebLogicPort 8890
</Location>
部署Webgate
添加保护资源:
protectedResourcesList |
<resource>/webcenter/adfAuthentication</resource> <resource>/webcenter/content</resource> <resource>/webcenter/content/…/*</resource> <resource>/rss/rssservlet</resource> <resource>/owc_discussions/login!withRedirect.jspa</resource> <resource>/owc_discussions/login!default.jspa</resource> <resource>/owc_discussions/login.jspa</resource> <resource>/owc_discussions/admin</resource> <resource>/owc_discussions/admin/…/*</resource> <resource>/owc_wiki/user/login.jz</resource> <resource>/owc_wiki/adfAuthentication</resource> <resource>/rest/api/resourceIndex</resource> <resource>/rest/api/spaces</resource> <resource>/rest/api/spaces/…/*</resource> <resource>/rest/api/discussions</resource> <resource>/rest/api/discussions/…/*</resource> <resource>/rest/api/tags</resource> <resource>/rest/api/tags/…/*</resource> <resource>/rest/api/taggeditems</resource> <resource>/rest/api/taggeditems/…/*</resource> <resource>/rest/api/activities</resource> <resource>/rest/api/activities/…/*</resource> <resource>/rest/api/activitygraph</resource> <resource>/rest/api/activitygraph/…/*</resource> <resource>/rest/api/feedback</resource> <resource>/rest/api/feedback/…/*</resource> <resource>/rest/api/people</resource> <resource>/rest/api/people/…/*</resource> <resource>/rest/api/messageBoards</resource> <resource>/rest/api/messageBoards/…/*</resource> <resource>/rest/api/searchresults</resource> <resource>/rest/api/searchresults/…/*</resource> |
公共资源列表
publicResourcesList |
<resource>/webcenter</resource> <resource>/webcenter/…/*</resource> <resource>/webcenterhelp</resource> <resource>/webcenterhelp/…/*</resource> <resource>/owc_discussions</resource> <resource>/owc_discussions/…/*</resource> <resource>/owc_wiki</resource> <resource>/owc_wiki/…/*</resource> <resource>/rss</resource> <resource>/rss/…/*</resource> <resource>/rest/api/cmis/…/*</resource> |
配置OID与weblogic集成
配置weblogic oam provider
配置Webcenter SSO服务
1. 编辑setDomainEnv.sh文件
在其中增加如下变量设置
EXTRA_JAVA_PROPERTIES="-Doracle.webcenter.spaces.osso=true ${EXTRA_JAVA_PROPERTIES}"
export EXTRA_JAVA_PROPERTIES
2. 重启spaces服务
配置discussions
趁热打铁,把discussions的单点登录也配了:
1. 登录到discussions的管理界面中
选择system->Forum System->System Properties
2. 添加两个property:
- l owc_discussions.sso.mode=true
- l jiveURL = idmdev.xxx.com.cn:7777/owc_discussions(单点登录的地址)
至此,配置完毕。
关于作者:
昵称: 档案信息: 联系方式:你可以通过联系作者 点击查看发表过的所有文章... 本文永久链接: http://blog.retailsolution.cn/archives/2913 |
对本文的评价: