Use > Hardening > Data Flow Probe Hardening > Enable Basic Authentication between UCMDB Server and Data Flow Probe

Enable Basic Authentication between UCMDB Server and Data Flow Probe

You can set up Basic Authentication for the connection between the Data Flow Probe and the UCMDB Server. The user name and password are required before the connection is established.

For maximum security level, it is recommended that you use the Mutual Authentication mode, for details, see Enable SSL between UCMDB Server and Data Flow Probe.

Enable Basic Authentication

Follow the procedure below to enable the Basic Authentication:

  1. Log in to UCMDB as an administrator, and then go to Administration > Infrastructure Settings Manager.
  2. Locate the Enable Basic Authentication for HTTP connections from probe setting, and then set the value to True.
  3. Change the password for Basic Authentication using the changeBasicAuthenticationCredential JMX method to meet the default password policy.

    For detailed instructions, see Change Credentials for Basic Authentication.

  4. Restart the UCMDB server.

Change Credentials for Basic Authentication

Follow the steps below to change the credentials for Basic Authentication:

  1. Log in to the UCMDB JMX console, and then go to UCMDB:service=Discovery Manager::changeBasicAuthenticationCredential.
  2. Enter the relevant customer ID and desired credentials.
  3. Click Invoke.

After you perform the above operation, the credentials for Basic Authentication will be automatically updated on all probes that are already connected to the UCMDB server. However, if you want to connect a new probe to the UCMDB server, you have to manually update the credentials on the probe. For details, see Configure User Name and Password on a New Probe.

Configure User Name and Password on a New Probe

If the probe has not been connected to the UCMDB server, you have to set up the credentials on the probe before you can connect the probe to the UCMDB server.

To do this, follow these steps:

  1. Open the following file on the probe using a text editor:

    <probe_installation_folder>\conf\DataFlowProbe.properties

  2. Set the credentials in the following settings:

    appilog.agent.Probe.BasicAuth.User=
    appilog.agent.Probe.BasicAuth.Pwd=

    Note The password uses encrypted text in the DataFlowProbe.properties file. You can use the getEncryptedKeyPassword() method to get the encrypted text of the desired password . The getEncryptedKeyPassword() method is available on the Data Flow Probe JMX console. For more information about how to use the getEncryptedKeyPassword() method, refer to the JMX Reference section of the UCMDB Help.

  3. Save the file.
  4. Restart the probe.