我需要一个关于如何在我自己的IBM/Notes/Domino/XPages应用程序和我自己的Connections4.5服务器之间设置Oauth 2.0身份验证的完整过程(没有温室或web上的快速启动连接)
两者都安装在同一台机器上,主机名相同,端口不同:connection4.5(HTTP80/HTTPS443)运行安全模式ok Domino9(HTTP8088/ HTTPS 44388)在SSL中访问连接工作得很好。也可以使用特定的端口运行XPages SSL/Domino。
按照IBM SBT文档进行操作:
http://www-10.lotus.com/ldd/lcwiki.nsf/xpDocViewer.xsp?lookupName=IBM+Connections+4.5+Documentation#action=openDocument&res_title=Registering_an_OAuth_client_with_a_provider_ic45&content=pdcontent
在WAS 8.0.0.6上创建凭据:
http://www-10.lotus.com/ldd/lcwiki.nsf/xpDocViewer.xsp?lookupName=IBM+Connections+4.5+Documentation#action=openDocument&res_title=Managing_the_client_application_list_ic45&content=pdcontent
但是在创建凭据时指定重定向有问题吗?{opensocialSvcUrl}/gadgets/oauth2callback“表示仅用于小工具否?
问题是如何在websphere中创建正确的凭据,以及如何在SBTPayground.nsf Lotus应用程序(Open NTF)中配置它以通过OAuth2.0.成功登录(仅基本身份验证有效...)
谢谢你的帮助。
发布于 2013-06-06 08:59:20
下面是向Connections OAuth 2提供程序注册应用程序的documentation。对于步骤c,参数是不言而喻的,但您需要知道回调URL。游乐场的回调URL为/SBTPlayground.nsf.nsf/xsp/.sbtservice/oauth20_cb
发布于 2013-06-07 22:14:56
创建一个文件,如/local/qsi/bin/conx/oauthQSI.py
输入这些行
import sys
execfile('oauthAdmin.py')
OAuthApplicationRegistrationService.addApplication(sys.argv[0],sys.argv[1],sys.argv[2])
clientSecret = OAuthApplicationRegistrationService.getApplicationById(sys.argv[0]).get('client_secret')
print clientSecret然后将目录更改为您的连接部署管理器配置文件cd ${CON_PROFILE_DM}/bin/
运行此命令${CON_PROFILE_DM}/bin/wsadmin.sh -user $USER -password $PASSWORD -lang jython -port 8879 -conntype SOAP -f /local/qsi/bin/conx/oauthQSI.py $CLIENTID $APPID $URL
$CLIENTID = playground
$APPID = playground
$URL = https://XYZ.com/sbtplayground.nsf/xsp/.sbtservice/oauth20_cb然后,您可以编辑环境属性,使其指向位于https://abc.com:444/oauth2/endpoint/connectionsProvider/authorize https://abc.com:444/oauth2/endpoint/connectionsProvider/token的echod clientsecret和连接服务器
如果显示过滤器无效失败,请确保(如果证书是自签名的)将其导入到WebSphere上的单元的信任存储中
https://stackoverflow.com/questions/16940213
复制相似问题