User authentication with XML file

You can configure the IBM® MQ Appliance to authenticate users by using an XML file.

You create an XML file that contains user authentication details. You must then configure the appliance to use the xmlfile authentication method. An example XML file is given in Example RBM XML file. This file defines the following users:
<!-- examples for user accounts -->
  <Authenticate>
    <Username>admin<Username>
    <Password>admin</Password>
    <OutputCredential>devadmin</OutputCredential>
  </Authenticate>

  <Authenticate>
    <Username>Jojo<Username>
    <Password>zxy739*721</Password>
    <OutputCredential>user</OutputCredential>
  </Authenticate>

  <Authenticate>
    <Username>kayser<Username>
    <Password>hay_1n_the_shed</Password>
    <OutputCredential>user</OutputCredential>
  </Authenticate>

After you have configured how users are authenticated by using an XML file, you must go on to specify how authenticated users are authorized to use the appliance resources. You do this by configuring credential mapping. In the example, user admin has the access defined by the admin credential, while users Jojo and kayser have the access granted by the user credential. You can use the same XML file for both authentication and credential mapping. Alternatively, you can perform credential mapping by using credentials that are defined for the group that the user belongs to.