This section provides information on creating and managing communities and community users from the Sun JavaTM System Portal Server administration console.
In Community Management page, a table lists the communities in the portal. Users can search for a community, and manage communities and community users.
The Community Management table contains the following information:
Name of the community
Number of users in the community
Indicates if the community is enabled or disabled
Indicates if the community is active or marked for deletion
Indicates if the community is listed or unlisted.
Indicates if the community is a membership restricted community or a unrestricted community.
Indicates if the community is a secure or a not a secure community.
For steps on how to manage communities and users, see Managing Communities and Users.
This section provides information on how to manage communities and users from Sun Java System Portal Server management console.
Use the following steps to manage communities and users:
Under the Portals tab, click a portal.
Click the Communities tab.
The Community Management page displays.
Type the name of the community in the Search for communities text box, and click Search.
Communities matching the search criteria are listed.
You can do a wildcard search. For example, if your search criteria is *blog, all communities with the word blog anywhere in the name will be listed. Typing * will display all the communities.
Under the Portals tab, click a portal.
Click the Communities tab.
The Community Management page displays.
Click the New button.
The Create Community page displays.
Type the values in the text boxes and make selections from the drop-down menus.
Click OK to finish.
Under the Portals tab, click a portal.
Click the Communities tab.
The Community Management page displays.
Select a community.
Only one community can be managed at a time
Click Manage Current Users button.
The Manage Users page displays.
Click the Add button.
The Add Community User page displays.
If you want to change the status of existing users, go to step 7.
Type a user name in the User DN text box, and click Add.
If you do not know the user name, click Choose.
The Select a User page displays.
Type the search criteria in the Search for Users text box, and click Search.
You can do a wildcard search. For example, if your search criteria is *user, all user IDs with the word user anywhere in the name will be listed. Typing * will display all the users.
Specify a user, and click Select.
The User DN text field in the Add Community User page displays the selected user name.
Click Add.
To change the status of an existing user, select a user.
Click one of the available option buttons.
The following options are available:
Remove – Removes user from the community
Assign Ownership – Assigns owner privileges to a community member
Unassign Ownership – Owner privileges removed
Ban – Banned from the community
Remove Ban – Ban from the community removed
Click Back to return to Community Management page.
Under the Portals tab, click a portal.
Click the Communities tab.
The Community Management page displays.
Select a community, and click the Manage Pending Users button.
The Managing Pending Users page displays.
Select a user from the Awaiting Membership Approval table, and click the Approve or Deny button.
Click Back to return to Community Management page.
Under the Portals tab, click a portal.
Click the Communities tab.
The Community Management page displays.
Select a community.
Multiple communities can be selected.
Click the Enable button.
Under the Portals tab, click a portal.
Click the Communities tab.
The Community Management page displays.
Select a community.
Multiple communities can be selected.
Click the Disable button.
Under the Portals tab, click a portal.
Click the Communities tab.
The Community Management page displays.
Select a community under Name.
Multiple communities can be selected.
Click the Unmark for Deletion button.
Under the Portals tab, click a portal.
Click the Communities tab.
The Community Management page displays.
Select a community under Name.
Multiple communities can be selected.
Click the Mark for Deletion button.
To permanently delete the community, use the command psadmin remove-community -u amadmin -f password_file -p portal --name community_name
Under the Portals tab, click a portal.
Click the Communities tab.
The Community Management page displays.
Click a community.
The Editing page displays.
Change the values and selections for the community.
Click Save.
Community search and administration functionality involves a community webservice. By default, the community webservice URL contains the same host as the first Portal instance. In a multi-node installation that uses a load balancer, you can change the community webservice URL to use the load balancer host.
Type the following in a terminal window:
./psadmin get-attribute -u amadmin -p portal-URI -m communities -a WebServicesURL
./psadmin set-attribute -u amadmin -p portal-URI -m communities -a WebServicesURL URL
Specifies the administrator's distinguished name.
Specifies the portal ID.
Specifies the value for the WebServicesURL attribute. For example, the URL can be of the format http://foo.com:8080/communitymanagerwebservices/communitymanagerwebservices. Please note that the communitymanagerwebservices/communitymanagerwebservices part of the URL must not be changed.
There is no default value for the WebServicesURL attribute. By default, an empty value indicates that the host of the first Portal instance will be used.