jdk/src/sample/share/jmx/jmx-scandir/src/etc/access.properties
author chegar
Wed, 03 Dec 2014 14:22:58 +0000
changeset 27565 729f9700483a
parent 25859 3317bb8137f4
permissions -rw-r--r--
8049367: Modular Run-Time Images Reviewed-by: chegar, dfuchs, ihse, joehw, mullan, psandoz, wetmore Contributed-by: alan.bateman@oracle.com, alex.buckley@oracle.com, bradford.wetmore@oracle.com, chris.hegarty@oracle.com, erik.joelsson@oracle.com, james.laskey@oracle.com, jonathan.gibbons@oracle.com, karen.kinnear@oracle.com, magnus.ihse.bursie@oracle.com, mandy.chung@oracle.com, mark.reinhold@oracle.com, paul.sandoz@oracle.com, sundararajan.athijegannathan@oracle.com
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
#     Default Access Control File for Remote JMX(TM) Monitoring
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
######################################################################
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
# Access control file for Remote JMX API access to monitoring.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
# This file defines the allowed access for different roles.  The
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
# password file (jmxremote.password by default) defines the roles and their
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
# passwords.  To be functional, a role must have an entry in
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
# both the password and the access files.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
#
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 25859
diff changeset
    11
# Default location of this file is $JRE/conf/management/jmxremote.access
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 25859
diff changeset
    12
# You can specify an alternate location by specifying a property in
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 25859
diff changeset
    13
# the management config file $JRE/conf/management/management.properties
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
# (See that file for details)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
# The file format for password and access files is syntactically the same
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
# as the Properties file format.  The syntax is described in the Javadoc
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
# for java.util.Properties.load.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
# Typical access file has multiple  lines, where each line is blank,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
# a comment (like this one), or an access control entry.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
# An access control entry consists of a role name, and an
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
# associated access level.  The role name is any string that does not
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
# itself contain spaces or tabs.  It corresponds to an entry in the
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
# password file (jmxremote.password).  The access level is one of the
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
# following:
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
#       "readonly" grants access to read attributes of MBeans.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
#                   For monitoring, this means that a remote client in this
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
#                   role can read measurements but cannot perform any action
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
#                   that changes the environment of the running program.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
#       "readwrite" grants access to read and write attributes of MBeans,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
#                   to invoke operations on them, and to create or remove them.
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 25859
diff changeset
    33
#		    This access should be granted to only trusted clients,
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
#                   since they can potentially interfere with the smooth
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 25859
diff changeset
    35
#		    operation of a running program
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
# A given role should have at most one entry in this file.  If a role
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
# has no entry, it has no access.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
# If multiple entries are found for the same role name, then the last
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
# access entry is used.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
# Default access control entries:
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 25859
diff changeset
    44
# o The "monitorRole" role has readonly access.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
# o The "controlRole" role has readwrite access.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
# monitorRole   readonly
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
# controlRole   readwrite
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
guest   readonly
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
admin   readwrite