HTTP Credential Mapping

The HTTP Credential Mapping page enables Administrators to define how a password-protected website expects credentials from a user. When you configure an HTTP Credential Mapping, you can then create an HTTP or HTTPS Service that injects the information stored on an HTTP Credential Mapping into a website.

This document contains the requirements and process to configure an HTTP Credential Mapping, associate a credential to the HTTP Credential Mapping, and create an HTTP or HTTPS Service that automatically injects credentials into a web server.

Requirements

To configure an HTTP Credential Mapping, you must meet the following requirements:

  • You are an administrator of your server.

  • Your server version must be version 23.1.8 or higher.

  • You already installed the Certificate Installer from your server.

  • Your PAS server's cfg_property must have the audit.http.disable flag set to false.
    This flag is also known as the HTTP Audit Man-In-The-Middle.

  • You must have introductory knowledge to your web browser's development tools and HTML code.

If you do not meet these requirements, your HTTP Credential Mapping configuration will fail.

How to Configure HTTP Credential Mapping

Find the HTTP Credential Mapping menu by hovering the Credentials menu in the System Admin tab. From this page, you can create a new HTTP Credential Mapping. The displayed form requires several details from a website. Ensure that you keep your PAS server window open with this form, as you need to complete the form considering the following:

  • HTTP Credential Mapping Settings

    • Name: A custom, identifiable name for the HTTP Credential Mapping you are configuring.

    • Login POST Request URL: The web address used to send the credentials data to the website's server

    • Login Page URL: The web address that contains the log in form for the website.

  • HTML Elements

    • Username Input ID: The HTML unique identifier for where the user inputs their ID.

    • Password Input ID: The HTML unique identifier for where the user inputs their password.

    • Login Form ID: The HTML unique identifier for where the log in form is.

    • Login Button ID: The HTML unique identifier for the button that sends the credentials.

The following sections provide useful guides on how to obtain each element of the HTTP Credential Mapping form.

To follow all the guides and obtain the required information follow these initial steps:

  1. Open the log in page of the website in a new browser window.

  2. Open the right-click menu for the web page.

  3. Click Inspect.
    The browser DevTools pane opens in your browser.

From the DevTools pane, you can find the required information for the HTTP Credential Mapping form. In the following sections, locate the menu of the DevTools pane where you can find the information.

After you finish completing the HTTP Credential Mapping form, click Save and continue to associate a Credential to the HTTP Credential Mapping you created. Read the Add a Secret or Credential section in the Vault or Credentials page.

How to Add HTTP Credential Mapping to a Service

This section contains the process to configure an HTTP or HTTPS Service to use the HTTP Credential Mapping feature to automatically inject credentials into a website during a Session.

You can add an HTTP Credential Mapping to a Service when you follow the process of Adding or Editing a Service to an Application. To complete the configuration of adding an HTTP Credential Mapping to an HTTP or HTTP Service:

  1. Open the application that requires the HTTP or HTTPS Service.

  2. Click Edit Services in the View Application page.

  3. Add or edit the HTTP or HTTPS service that your server will be passing a credential for.

  4. Add the Login Page URL Path to the Paths section of the service.
    Read the HTML Elements section of this document.

  5. Verify that the Launch Via field is set to Host name.
    If this field does not appear, Save the Service and then click Edit again.

  6. Click Add in the Credentials section of the service.

  7. Select the HTTP Credential Mapping that you configured.

  8. Click the Save.

The Mapped Credential is now ready to use. When configured properly, launching the HTTP or HTTPS service will open the desired website.

Insert the randomized token ID and Password, and log the user in automatically.

Manual Credential Injection

Some websites are developed in a way that the automatic credential injection cannot work. In this instance, using "Manual Mode" enables the user to copy and paste each part of the token credential one at a time. Use the Manual Credential Injection:

  1. Connect to the Application that has the HTTP or HTTPS Service.

  2. Hover your mouse over the HTTP or HTTPS Service.
    The Description area populates with the credential you added.

  3. Click the eye to expand the credential.
    The Service displays a hidden username, a hidden password, and the View and Copy buttons.

  4. Copy and paste the credentials into the website's login page.
    If the website does not accept the copy and paste credentials, type the credentials manually.

    • Type in the username and password as they appear in the Service.

    • The server intercepts the web traffic and replaces the input credential with the encrypted credential.

NOTE:
A new randomized Token Password is created each time a user connects or disconnects from the VPAM Application.