jdk/test/javax/management/remote/mandatory/passwordAccessFile/access.properties
author duke
Wed, 05 Jul 2017 17:52:05 +0200
changeset 10620 9df40a1578ef
parent 2 90ce3da70b43
permissions -rw-r--r--
Merge
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
# Access control file for Remote JMX API access to MBeanServer resources.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
# This file defines the allowed access for different roles.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
# The file format for the access file is syntactically the same as the
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
# Properties file format.  The syntax is described in the Javadoc for
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
# java.util.Properties.load.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
# A typical access file has multiple lines, where each line is blank,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
# a comment (like this one), or an access control entry.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
# An access control entry consists of a role name, and an associated access
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
# level. The role name is any string that does not itself contain spaces or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
# tabs. It corresponds to an entry in the password file. The access level
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
# is one of the following:
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
#       "readonly"  grants access to read attributes of MBeans.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
#                   For monitoring, this means that a remote client in this
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
#                   role can read measurements but cannot perform any action
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
#                   that changes the environment of the running program.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
#       "readwrite" grants access to read and write attributes of MBeans, to
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
#                   invoke operations on them, and to create or remove them.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
#                   This access should be only granted to trusted clients,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
#                   since they can potentially interfere with the smooth
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
#                   operation of a running program.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
# A given role should have at most one entry in this file. If a role has no
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
# entry, it has no access.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
# If multiple entries are found for the same role name, then the last access
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
# entry is used.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
# Access rights granted to the authenticated identity by the RMI connector
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
# in this example.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
admin readwrite
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
user readonly