Configuring database server user password authentication

You can configure the database server to authenticate wire listener users based on the client user and password.

About this task

This is only supported for the REST and MQTT listener types. Mongo listeners do not support this type of authentication against the database server because of the way the MongoDB client drivers hash the password before it is passed to the wire listener.

Procedure

To configure database server user password authentication:
  1. Set the following parameters in the wire listener configuration file:
    • Enable authentication: Set authentication.enable=true.
    • Specify HCL OneDB™ password authentication: Set db.authentication=onedb-password.
  2. Restart the wire listener.
  3. Configure REST and MQTT clients to connect to the wire listener with a username and password that has privileges on the database server.