You can change the AdminServer authentication method by modifying the securityManager.realms property in the activemqs.ini file. Changing this property value from $osRealm to $iniRealm switches authentication from OS‑based authentication to INI‑based authentication for the AdminServer.

To enable INI authentication for the AdminServer, perform the following steps:

  1. Navigate to the directory where the activemqs.ini file is placed.
    • On Windows, go to: %DLC%\properties\activemqs.ini
    • On Linux, go to: $DLC/properties/activemqs.ini
  2. Open the file using a text editor and locate the securityManager.realms property. By default, the value of this property is $osRealm.
    securityManager.realms = $osRealm
  3. To change the authentication to INI authentication, update the value of the securityManager.realms property to $iniRealm.
    securityManager.realms = $iniRealm
  4. Save the changes.