Configuring transient users | HCL Digital Experience
In addition to the basic OpenID authentication option, you can give users, who are trusted and verified from an identity provider, access to HCL Digital Experience. These trusted and verified users do not require a local, registered Portal user account.
About this task
Facebook and Google users can authenticate with the HCL Digital Experience server instance with their identity provider credentials. They are granted access to certain data within HCL Digital Experience without having a local account. You can grant the same access to all identity providers or you can configure different access rights that are based on the identity provider. With this option, you can provide a personalized view to unregistered users while still providing benefits to fully registered users.
Procedure
- For Remote Dmgr only: Copy this JAR file from the Portal server <PortalServer_root>/base/wp.user.impl/lib/wp.user.connections.jar to the <AppServer_root>/lib directory of the remote Dmgr.
-
Run the following task from the wp_profile_root\ConfigEngine
directory with the appropriate parameters:
Cluster note: Complete this step only on the primary node.
- AIX®: ./ConfigEngine.sh enable-transient-user -DWasUserId=username -DWasPassword=password
- HP-UX: ./ConfigEngine.sh enable-transient-user -DWasUserId=username -DWasPassword=password
- IBM® i: ConfigEngine.sh enable-transient-user -DWasUserId=username -DWasPassword=password
- Linux™: ./ConfigEngine.sh enable-transient-user -DWasUserId=username -DWasPassword=password
- Solaris: ./ConfigEngine.sh enable-transient-user -DWasUserId=username -DWasPassword=password
- Windows™: ConfigEngine.bat enable-transient-user -DWasUserId=username -DWasPassword=password
Add the following parameters to customize the task for your business requirements:- -Dtransparent.suffix
- Set this value to a dn suffix that is used for transient users. The suffix must NOT match your current suffixes for fully registered users. The default value is o=transparent.
- -Dtransparent.prefix
- Set this value to a prefix that is used for transient users. For example, if you want to set the RDN attribute, set this value to cn.
Note: Complete the following steps if you entered the wrong value in the transparent.suffix parameter:- Log on to WebSphere® Integrated Solutions Console as the administrator.
- Go to .
- Go to Federatedrepositories. and select
- Click Configure.
- Go to Repositories in the realm and click the link in the Base Entry column for the transientidp repository identifier, for example, o=transparent.
- Replace the value in the following fields with the new value:
- Distinguished name of a base entry that uniquely identifies this set of entries in the realm For example, o=transparent.
- Distinguished name of a base entry in this repository For example, o=transparent
- Click OK.
- Save your changes.
- Stop and restart the HCL Portal server.
- Optional:
Complete the following steps to create group objects for external providers to assign
different access rights:
Important: After you run the enable-transient-user task, all identified users are identified with the all authenticated group and do not have explicit groups.
- Optional:
Complete the following steps to mark transient identity provider users as
external:
Information: After you run the enable-transient-user task, the system builds internal groups for each identity provider. You can use these groups in the Resource Permissions portlet in the Portal Administration menu. Use the Resource Permissions portlet to build a set of pages and portlets that transient users can see and use.
You can also combine transient users with the external user feature in HCL Digital Experience. You can identify a group of external or transient users with a database suffix. All external and transient users are then granted a special virtual principle in the access control. Use this virtual principle to grant a general set of access rights to these users.
- Log on to WebSphere® Integrated Solutions Console as the administrator.
- Go to .
- Search for WP PumaStoreService and then click Custom properties.
- Add the parentDN.externalUsers property with value you entered for transparent.suffix. If you did not enter a value in transparent.suffix, type o=transparent.
- Save your changes.
- Stop and restart the HCL Portal server.
-
Complete the following steps to load user attributes during authentication:
Note: Transient users do not have attributes that are stored locally. Therefore, it is helpful to load attributes from the Identity Provider during authentication.Note: If you want to allow transient users to create or modify pages, you must map a short name to the users. The attribute that is used for the short name is the User default search attribute. If you do not know the attribute name, you can find it defined in the PumaStoreService Resource Environment provider. The most common values are
uid
andcn
. - Optional:
Complete the following steps to allow attribute requests for transient users:
Important: Some portal components, such as Web Content Manager, might need attributes of the current user to work as designed. The uid attribute is typically one of the necessary attributes.
- Log on to WebSphere® Integrated Solutions Console as the administrator.
- Go to .
- Select the WP_PumaStoreService resource environment provider.
- Select Custom properties.
- If the property does not exist, click New to create it. Otherwise, edit the store.puma_default.filter.TransparentUserFilter.classname property.
- Set the Value to com.ibm.wps.um.TransparentUserFilter.
- Save your changes.
- If the property does not exist, click New to create it. Otherwise, edit the store.puma_default.filter.TransparentUserFilter.position property.
- Set the Value to -10.
- Save your changes.
- Click Apply.
- Click Save to save the changes to the master configuration.
- Stop and restart the HCL Portal server.