Enable locked domains for OpenSocial
To ensure that only the Connections OpenSocial application is mapped to the locked domain host, we specify an additional atrribute in LotusConnections-config.xml.Only ConnectionsCommon.ear is be mapped to the locked host. Although no SSO tokens will be flowing from the host, this extra precaution limits exposure of the Connections infrastructure to potentially malicious gadgets.
- Check out the Connections configuration files:
cd $DMGR_PROFILE/bin
./wsadmin.sh -lang jython
execfile("connectionsConfig.py")
LCConfigService.checkOutConfig("/tmp", "cell_name")To determine cell_name:
print AdminControl.getCell()
- Edit LotusConnections-config.xml
...and add...
<sloc:serviceReference bootstrapHost="{locked.host.name}" bootstrapPort="2809" clusterName="" enabled="true" serviceName="opensocialLocked" ssl_enabled="true"> <sloc:href> <sloc:hrefPathPrefix>/connections/opensocial</sloc:hrefPathPrefix> <sloc:static href="http://{locked.host.name.authority/http}" ssl_href="https://{locked.host.name.authority/https}"/> <sloc:interService href="https://{locked.host.name.authority/https}"/> </sloc:href> </sloc:serviceReference>
- Save LotusConnections-config.xml.
- Check in the files and sync nodes...
LCConfigService.checkInConfig()
synchAllNodes()
- Restart the Connections server.
Example configuration:
<sloc:serviceReference bootstrapHost="myhost.myco.com" bootstrapPort="2809" clusterName="" enabled="true" serviceName="opensocialLocked" ssl_enabled="true"> <sloc:href> <sloc:hrefPathPrefix>/connections/opensocial</sloc:hrefPathPrefix> <sloc:static href="http://hern120w.locked.com:9080" ssl_href="https://myhost.locked.com:9443"/> <sloc:interService href="https://myhost.myco.com:9443"/> </sloc:href> </sloc:serviceReference>
Parent topic:
Post-installation tasks
See also