Red Hat Training

A Red Hat training course is available for Red Hat Fuse

14.3. Standalone Realm Properties File


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:

Format of entries

Each entry in the etc/ file has the following format (on its own line):

Changing the default username and password

The etc/ 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:
Where the admin role grants full administration privileges to this user.