On Oracle WebLogic Server, the user named weblogic
is the default domain administrator. While creating a domain, if you specify any other user as the domain administrator, that user is granted all the domain administrative rights. However, after creating the domain, you must manually grant the administrator role to that nondefault user for Oracle WebCenter Spaces and Oracle WebCenter Discussions applications. This appendix describes how to do this.
The appendix includes the following sections:
Section E.1, "Granting Administrator Role for WebCenter Spaces"
Section E.2, "Granting Administrator Role for Oracle WebCenter Discussions Server"
By default, for WebCenter Spaces, the administrator role is granted to the user weblogic
. You can grant administrator role to a different user by using the Oracle Enterprise Manager Fusion Middleware Control or WebLogic Scripting Tool (WLST).
After you grant the administrator role to a different user, you must revoke the seeded administrative privileges granted to the user, weblogic
.
To grant the administrator role to a non-weblogic user by using Oracle Enterprise Manager Fusion Middleware Control:
Log on to the Oracle Enterprise Manager Fusion Middleware Control as the nondefault user whom you specified as the domain administrator while creating the WebCenter domain, as described in Section B.6, "Configure Administrator Username and Password Screen".
For information about how to start Oracle Enterprise Manager, see the "Introduction to Oracle WebCenter Administration" chapter in the Oracle Fusion Middleware Administrator's Guide for Oracle WebCenter.
Under WebLogic Domain, select Security, and then Application Roles.
Search for the Admin application role s8bba98ff_4cbb_40b8_beee_296c916a23ed.
From the search results, under the Role Name column, click the link for s8bba98ff_4cbb_40b8_beee_296c916a23ed. (Figure E-1)
Under Users, click Add User.
In the User Name box, enter the user name that you want to search and then click the search icon.
From the Available Users list, select the desired user name and then click Move. (Figure E-2)
Figure E-2 Adding a User to an Application Role
Click OK.
Under Users, click the weblogic link.
Click Delete.
Click Yes to remove weblogic
from the administrator role. (Figure E-3)
Figure E-3 Removing weblogic from the Administrator Role
Click OK.
Restart the WLS_Spaces managed server.
Log on to the WebCenter Spaces application as the nondefault user whom you assigned the administrative privilege.
In the WebCenter Spaces application, presence of the Administration link in the toolbar of useful links across the top of the page indicates that you have logged on as an administrator.
Figure E-4 Administration Link in WebCenter Spaces
To grant the administrator role to a nondefault user by using the WLST command:
Start WLST. For information, see the "Oracle WebLogic Scripting Tool (WLST)" section in the Oracle Fusion Middleware Administrator's Guide for Oracle WebCenter.
Connect to the Oracle WebLogic Server instance.
For example, use the following command:
connect('weblogic_admin','welcome1','example.com:7001');
Grant the WebCenter administrator application role to the desired user.
For example, use the following command to grant the administrator role to the user weblogic_admin
:
grantAppRole(appStripe="webcenter",appRoleName="s8bba98ff_4cbb_40b8_beee_296c916a23ed#-#Administrator", principalClass="weblogic.security.principal.WLSUserImpl",principalName="weblogic_admin")
Revoke the seeded grants from the user, weblogic
.
For example, use the following command:
revokeAppRole(appStripe="webcenter",appRoleName="s8bba98ff_4cbb_40b8_beee_296c916a23ed#-#Administrator", principalClass="weblogic.security.principal.WLSUserImpl",principalName="weblogic")
Restart the WLS_Spaces managed server.
Log on to the WebCenter Spaces application as the non-weblogic user whom you assigned the administrative privilege.
By default, Oracle WebCenter Discussions uses a database for user identity management. The default user weblogic
is the super administrator for the entire Oracle WebCenter Discussions application. This section describes how to create a user and grant administrator privileges to that nondefault user.
Oracle recommends that you use Oracle Internet Directory as your LDAP-based identity store for integrating with WebCenter applications and supporting single sign-on. In case you are using the default setup, which is the Oracle WebCenter Discussions server database, then to make a nondefault user as an administrator, you must first create the user on Oracle WebCenter Discussions server and then assign administrative rights to that user.
To create a user on Oracle WebCenter Discussions:
Log on to Jive Forum Admin Console as weblogic/weblogic
by using the following URL format:
http://
host:port/owc_discussions
/admin
Where host:port
refer to the host and port number of the server to which Oracle WebCenter Discussions is deployed, and owc_discussions
refers to your Oracle WebCenter Discussions domain.
Click the Users/Groups link in the list of links across the top of the page.
Click the Create User link on the navigation panel on the left.
On the Create User page, enter user details such as the user name, e-mail address, and password. (Figure E-5)
Click Create User.
Figure E-5 Creating a User on Oracle WebCenter Discussions
To grant the administrator role to a nondefault user on Oracle WebCenter Discussions:
Access the following Jive Forum Admin Console URL: http://
host:port/owc_discussions/
admin
Log on with the default system administrator credentials, weblogic/weblogic
.
Click the Settings link in the list of links across the top of the page.
Click the Admins/Moderators link, if not selected, in the navigation panel on the left.
On the Admins & Moderators page, click the Grant New Permissions tab.
Select the System Admin checkbox.
Select the A Specific User checkbox and specify the user to whom you want to grant administrative privilege for Oracle WebCenter Discussions.
Click Grant New Permission.
You can now log on to Oracle WebCenter Discussions as the user whom you have assigned the administrative privilege.
Figure E-6 Granting the Administrator Role on Oracle WebCenter Discussions
After assigning the administrator role to the required nondefault user, you may want to revoke the administrator role from the default user, weblogic
.
To revoke the administrator role from the user weblogic
:
Log on to Jive Forum Admin Console as the nondefault user whom you assigned the administrator role.
Click the Settings link in the list of links across the top of the page.
Click the Admins/Moderators link, if not selected, in the navigation panel on the left.
On the Admins & Moderators page, under the Permission Summary tab, uncheck the System Admin checkbox for the weblogic user. (Figure E-7)
Figure E-7 Revoking the Administrator Role
Click Save Changes.
The administrative privileges for managing Oracle WebCenter Discussions are now revoked from the user weblogic
.
You may want to change the default password of the user weblogic
. To change the password:
Log on to the Jive Forum Admin Console as an administrator.
On the Admins & Moderators page, under the Permission Summary tab, click the weblogic link.
On the User Profile page, click the edit user settings link.
Click the Change Password link. (Figure E-8)
Enter the new password in the New Password and Confirm Password fields.
Click Change Password.