Adding realm support | HCL Digital Experience
A realm is a group of users from one or more user registries that form a coherent group within HCL Digital Experience. Realms allow flexible user management with various configuration options. A realm must be mapped to a Virtual Portal to allow the defined users to log in to the Virtual Portal. When you configure realm support, complete these steps for each base entry that exists in your LDAP and database user registry to create multiple realm support.
Before you begin
In a stand-alone server environment, you can complete this task when the servers are either stopped or started. In a clustered environment, start the deployment manager and node agent and verify that they are able to synchronize.
Procedure
- Use the WebSphere® Application Server backupConfig task to create and store a backup of the HCL Digital Experience configuration. Read backupConfig command for information.
- Use a text editor to open the wkplc.properties file in the wp_profile_root/ConfigEngine/properties directory.
- Required:
Enter a value for the following parameters in the VMM realm
configuration section:
Note: Review the properties file for specific information about the parameters.
- realmName
- securityUse
- delimiter
- addBaseEntry
- Save your changes.
- Open a command line and change to the wp_profile_root/ConfigEngine directory.
-
Run the following task to add a realm to the Virtual Member Manager
configuration:
Important: To create multiple realms, ensure that your federated repository contains the correct unique base entries. Stop and restart the appropriate servers for your installation environment, and then update the wkplc.properties file with the base entry information and rerun the wp-create-realm task. Repeat these steps until all realms are created.
- AIX® HP-UX Linux™ Solaris z/OS®:./ConfigEngine.sh wp-create-realm -DWasPassword=password
- IBM® i: ConfigEngine.sh wp-create-realm -DWasPassword=password
- Windows™: ConfigEngine.bat wp-create-realm -DWasPassword=password
- Stop and restart the appropriate servers to propagate the changes. For instructions, go to Starting and stopping servers, deployment managers, and node agents.
- Required:
Enter a value for the following parameters in the wkplc.properties file in the VMM realm configuration
section:
- realmName
- realm.personAccountParent
- realm.groupParent
- realm.orgContainerParent
-
Run the following task to update the default parents per entity type and realm:
- AIX® HP-UX Linux™ Solaris z/OS®:./ConfigEngine.sh wp-modify-realm-defaultparents -DWasPassword=password
- IBM® i: ConfigEngine.sh wp-modify-realm-defaultparents -DWasPassword=password
- Windows™: ConfigEngine.bat wp-modify-realm-defaultparents -DWasPassword=password
- Stop and restart the appropriate servers to propagate the changes. Re-run the wp-modify-realm-defaultparents task to create more entity types and realms.
- Optional:
Complete the following steps to add more base entries to the realm configuration:
For example, you have two more base entries (base entry 1 and base entry 2) to add to the realm you created. You must update the wkplc.properties file with the information from base entry 1 and then run this task. Then, update the properties file with the information for base entry 2 and then run this task.
- Optional:
Complete the following steps to replace the WebSphere® Application Server and HCL Portal administrator user ID:
Tip: Complete these steps if you changed the default realm.
-
Complete the following steps to set the realm you created as the default realm:
Remember: Only users that are defined in base entries that exist in the default realm are able to log in to HCL Digital Experience. If a user cannot log in to HCL Digital Experience, check whether the base entry that contains the user exists in the default realm. You can run the wp-query-realm-baseentry task to see what base entries are part of the default realm. If the default realm is missing the base entry, run the wp-add-realm-baseentry task to add the base entry to the default realm.
-
Complete the following steps to query a realm for a list of its base entries:
- Optional:
Complete the following steps to enable the full distinguished name login if the short
names are not unique for the realm:
Tip: Run this task if the administrator name is in conflict with another user name in the attached repository. This command allows the Administrator to log in using the fully distinguished name instead of the short name.