How to configure a Web Application Bridge for basic authentication
Applies to
HCL Digital Experience v9.5 and higher
Introduction
Some back-end applications require basic authentication to establish a secure connection. You can configure a Web Application Bridge (WAB) in HCL Digital Experience (DX) to authenticate against these back-end applications using credentials stored in the Credential Vault. This article describes how to configure a WAB for basic authentication.
Instructions
Creating a credential vault slot
- Log in to HCL DX as an portal administrator.
- Navigate to Open applications menu > Administration > Security > Credential Vault.
- Select Add a vault slot.
- In the Name box, enter
BasicAuthVaultSlot - Under Vault resource associated with vault slot:, select New and enter
BasicAuthResourcein the Name box. - Select Vault slot is shared and enter the authentication details:
- Shared userid
- Shared password
- Confirm password
- Select OK.
Creating a content provider profile
- Navigate to Production > Virtual Application Manager.
- Select Create Content Provider Profile.
- In the Unique profile title box, enter
basicAuthProfile. - In the Host name or IP address box, specify the location of the application requiring basic authentication using the
http://server:portformat. - Select Save.
Configuring single sign-on
- In Content Provider Profiles, select the default tab next to basicAuthProfile.
- Select Edit.
- Select the Single Sign-On tab.
- Under Authentication Mechanism, select HTTP Basic authentication.
- From the Credential slot drop-down list, select BasicAuthVaultSlot.
- Select Save.
Creating a Web Dock application
- In Virtual Web Application Manager, select Web Dock Applications.
- Select Create Web Dock Application.
- In the Unique web dock application title box, enter
basicAuthDock. - From the Content provider profile drop-down list, select basicAuthProfile.
- In the Resource path box, enter the resource path for the back-end application (for example,
/basicAuth/basicAuthClass). - Select Save.
Deploying a Web Dock application
- Navigate to a non-administration site page and turn on Edit Mode on the top toolbar.
- In the Site Manager side panel, select the menu icon (≡) next to a site node, and then select Create Child Page...
- Enter a Page title, and then select Create Page....
- On the left-side panel, select Add page components and applications.
- In the Applications tab, search for the basicAuthDock application and drag it onto the page layout.
- Verify that the authenticated data from the back-end application appears on the page.