Create a superuserFor IBM Lotus Sametime integration, you need to create a superuser who has access to all communities, public and restricted.
Before you beginUsers who are granted the superuser role can access all communities with the following caveats:
- The Public Communities view in the web user interface only displays public and moderated communities. To list all communities, use the Atom feed: http://<server>/communities/service/atom/communities/all.
- When viewing restricted communities, you cannot see other application content such as community blogs, wikis, or files, until you are added to the community membership. For more information, see Add owners and members to a community.
About this taskWith additional configuration on the IBM Connections server, it is possible to create a superuser who can see all communities, public and restricted. For Sametime integration, you need to create a user of this type, and add their login and password credentials to the Sametime Advanced server so that you can connect on their behalf to list all of the communities.
- To determine the user realm for the new administrative user, do the following:
- In the IBM WAS Integrated Solutions Console (assuming federated repositories), expand Security, select Global security, and then select Federated Repositories.
- Click Configure.
- On the main Federated repositories page, note the value for the realm name for your application server.
- From the dmgr host:
If prompted to specify a service to connect to, type 1 to pick the first node in the list. Most commands can run on any node. If the command writes or reads information to or from a file using a local file path, pick the node where the file is stored.
- Check out the Communities configuration files using the following command:
- <working_directory> is the temporary working directory to which the configuration XML and XSD files are copied. The files are kept in this working directory while you make changes to them.
Note: AIX and Linux only: The directory must grant write permissions or the command will not run successfully.
- <cell_name> is the name of the WAS cell hosting the IBM Connections application. This argument is required. If you do not know the cell name, you can determine it by typing the following command in the wsadmin command processor:print AdminControl.getCell()
From the temporary directory to which you just checked out the IBM Connections configuration files, open the communities-policy.xml file in a text editor. To add an administrative user with rights to access all IBM Connections communities, add the following grant statement to the file:
<comm:grant> <comm:principal class="com.ibm.ws.security.common.auth.WSPrincipalImpl" name="<YOUR_REALM_NAME>/<YOUR_LOGIN_ID>" /> <comm:permission class="com.ibm.tango.auth.permission.CommunityManagementPermission" communityType="*" action="*" /> <comm:permission class="com.ibm.tango.auth.permission.CommunityMembershipPermission" communityType="*" action="*" /> <comm:permission class="com.ibm.tango.auth.permission.CommunityAccessPermission" communityType="*" action="*" /> <comm:permission class="com.ibm.tango.auth.permission.CommunityReferencePermission" communityType="*" action="*" /> <comm:permission class="com.ibm.tango.auth.permission.CommunityBroadcastPermission" communityType="*" action="*" /> </comm:grant>
- <YOUR_REALM_NAME> is the realm name you identified in step 1.
Note: If the realm contains a port number, then specify the port number as well. For example:
<comm:principal class="com.ibm.ws.security.common.auth.WSPrincipalImpl" name="w2k3dc.litbg01.example.com:389/buser99" />
<YOUR_LOGIN_ID> is the login ID of the user who you want to set up as the administrator for communities.
Note: If multiple login properties are used, the login ID should be based on the first property. For example, if the login properties are configured as uid;email, the login ID used must be based on uid.
Save your changes to the communities-policy.xml file. Check in the updated file using the following wsadmin client command:
To exit the wsadmin client, type exit at the prompt. Stop and restart the server hosting the Communities application.
ResultsWhen the user specified in the policy file logs in to Communities, they should now be able to view and edit all communities and community resources.
Parent topicConfigure the Sametime Advanced server
Starting the wsadmin client
Add owners and members to a community
July 12, 2011 3:39:40 AM
Jul 12, 2011 3:39:40 AM 1