Fuse 6 is no longer supported
As of February 2025, Red Hat Fuse 6 is no longer supported. If you are using Fuse 6, please upgrade to Red Hat build of Apache Camel.此内容没有您所选择的语言版本。
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
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[,UserGroup|Role][,UserGroup|Role]...
Username=Password[,UserGroup|Role][,UserGroup|Role]...
Changing the default username and password 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
The
etc/users.properties
file initially contains a commented out entry for a single user, admin, with password admin and role admin. It is strongly recommended that you create a new user entry that is different from the admin
user example.
For example, you could create a new user in the following format:
Username=Password,Administrator
Username=Password,Administrator
Where the
Administrator
role grants full administration privileges to this user.