0N/A# ----------------------------------------------------------------------
0N/A# Template for jmxremote.password
0N/A#
0N/A# o Copy this template to jmxremote.password
0N/A# o Set the user/password entries in jmxremote.password
0N/A# o Change the permission of jmxremote.password to read-only
0N/A# by the owner.
0N/A#
0N/A# See below for the location of jmxremote.password file.
0N/A# ----------------------------------------------------------------------
0N/A
0N/A##############################################################
0N/A# Password File for Remote JMX Monitoring
0N/A##############################################################
0N/A#
0N/A# Password file for Remote JMX API access to monitoring. This
0N/A# file defines the different roles and their passwords. The access
0N/A# control file (jmxremote.access by default) defines the allowed
0N/A# access for each role. To be functional, a role must have an entry
0N/A# in both the password and the access files.
0N/A#
0N/A# Default location of this file is $JRE/lib/management/jmxremote.password
0N/A# You can specify an alternate location by specifying a property in
0N/A# the management config file $JRE/lib/management/management.properties
0N/A# or by specifying a system property (See that file for details).
0N/A
0N/A
0N/A##############################################################
0N/A# File permissions of the jmxremote.password file
0N/A##############################################################
0N/A# Since there are cleartext passwords stored in this file,
0N/A# this file must be readable by ONLY the owner,
0N/A# otherwise the program will exit with an error.
0N/A#
0N/A# The file format for password and access files is syntactically the same
0N/A# as the Properties file format. The syntax is described in the Javadoc
0N/A# for java.util.Properties.load.
0N/A# Typical password file has multiple lines, where each line is blank,
0N/A# a comment (like this one), or a password entry.
0N/A#
0N/A#
0N/A# A password entry consists of a role name and an associated
0N/A# password. The role name is any string that does not itself contain
0N/A# spaces or tabs. The password is again any string that does not
0N/A# contain spaces or tabs. Note that passwords appear in the clear in
0N/A# this file, so it is a good idea not to use valuable passwords.
0N/A#
0N/A# A given role should have at most one entry in this file. If a role
0N/A# has no entry, it has no access.
0N/A# If multiple entries are found for the same role name, then the last one
0N/A# is used.
0N/A#
0N/A# In a typical installation, this file can be read by anybody on the
0N/A# local machine, and possibly by people on other machines.
0N/A# For # security, you should either restrict the access to this file,
0N/A# or specify another, less accessible file in the management config file
0N/A# as described above.
0N/A#
0N/A# Following are two commented-out entries. The "measureRole" role has
0N/A# password "QED". The "controlRole" role has password "R&D".
0N/A#
0N/A# monitorRole QED
0N/A# controlRole R&D
0N/A