Show Table of Contents
14.3. Standalone Realm Properties File
Overview
The default JAAS realm used by a standalone container is implemented by the
PropertiesLoginModule JAAS module. This login module stores its user data in a Java properties file in the following location:
InstallDir/etc/users.properties
Format of users.properties entries
Each entry in the
etc/users.properties file has the following format (on its own line):
Username=Password,Role1,Role2,...
Changing the default username and password
The
etc/users.properties file initially contains a commented out entry for a single user, smx, with password smx and role admin. It is strongly recommended that you create a new user entry that is different from the smx user example.
For example, you could create a new user in the following format:
Username=Password,admin
Where the
admin role grants full administration privileges to this user.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.