jdk/test/javax/management/remote/mandatory/passwordAccessFile/password.properties
author duke
Sat, 01 Dec 2007 00:00:00 +0000
changeset 2 90ce3da70b43
permissions -rw-r--r--
Initial load
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
# Password file for Remote JMX API authentication. This file defines
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
# the different roles and their passwords.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
# The file format for the password file is syntactically the same as
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
# the Properties file format. The syntax is described in the Javadoc
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
# for java.util.Properties.load.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
# A typical password file has multiple lines, where each line is blank,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
# a comment (like this one), or a password entry.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
# A password entry consists of a role name and an associated password.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
# The role name is any string that does not itself contain spaces or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
# tabs. The password is again any string that does not contain spaces
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
# or tabs. Note that passwords appear in the clear in this file, so it
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
# is a good idea not to use valuable passwords.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
# A given role should have at most one entry in this file. If a role
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
# has no entry, it has no access.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
# If multiple entries are found for the same role name, then the last
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
# one is used.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
# In a typical installation, this file can be read by anybody on the
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
# local machine, and possibly by people on other machines.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
# For security, you should either restrict the access to this file,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
# or specify another, less accessible file in the management config
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
# file as described above.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
# Role and password used for authentication by the RMI connector in
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
# this example.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
admin adminPassword
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
user userPassword