jdk/test/sun/management/jmxremote/bootstrap/rmiregistryssl.properties
author chegar
Wed, 03 Dec 2014 14:22:58 +0000
changeset 27565 729f9700483a
parent 23031 995cf5c2eb55
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 Configuration File for Java Platform Management
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
#####################################################################
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
# The Management Configuration file (in java.util.Properties format)
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
# will be read if one of the following system properties is set:
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
#    -Dcom.sun.management.jmxremote.port=<port-number>
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 23031
diff changeset
     8
# or -Dcom.sun.management.snmp.port=<port-number>
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
# or -Dcom.sun.management.config.file=<this-file>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
# The default Management Configuration file is:
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
#
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 23031
diff changeset
    13
#       $JRE/conf/management/management.properties
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
# Another location for the Management Configuration File can be specified
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
# by the following property on the Java command line:
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
#    -Dcom.sun.management.config.file=<this-file>
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 23031
diff changeset
    19
#
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
# If -Dcom.sun.management.config.file=<this-file> is set, the port
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 23031
diff changeset
    21
# number for the management agent can be specified in the config file
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
# using the following lines:
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 23031
diff changeset
    23
#
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
# ################ Management Agent Port #########################
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 23031
diff changeset
    25
#
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
# For setting the JMX RMI agent port use the following line
23031
995cf5c2eb55 7195249: Some jtreg tests use hard coded ports
sla
parents: 2
diff changeset
    27
com.sun.management.jmxremote.port=${getFreePort}
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
# For setting the SNMP agent port use the following line
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
# com.sun.management.snmp.port=<port-number>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
#####################################################################
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
#                   Optional Instrumentation
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
#####################################################################
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
# By default only the basic instrumentation with low overhead is on.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
# The following properties allow to selectively turn on optional
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
# instrumentation which are off by default and may have some
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
# additional overhead.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
# com.sun.management.enableThreadContentionMonitoring
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
#      This option enables thread contention monitoring if the
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
#      Java virtual machine supports such instrumentation.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
#      Refer to the specification for the java.lang.management.ThreadMBean
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
#      interface - see isThreadContentionMonitoringSupported() method.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
#
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 23031
diff changeset
    48
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
# To enable thread contention monitoring, uncomment the following line
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
# com.sun.management.enableThreadContentionMonitoring
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
#####################################################################
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
#			SNMP Management Properties
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
#####################################################################
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
#
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 23031
diff changeset
    56
# If the system property -Dcom.sun.management.snmp.port=<port-number>
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
# is set then
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 23031
diff changeset
    58
#	- The SNMP agent (with the Java virtual machine MIB) is started
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
#	  that listens on the specified port for incoming SNMP requests.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
#	- the following properties for read for SNMP management.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
# The configuration can be specified only at startup time.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
# Later changes to the above system property (e.g. via setProperty method), this
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
# config file, or the ACL file has no effect to the running SNMP agent.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
# ##################### SNMP Trap Port #########################
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
# com.sun.management.snmp.trap=<trap-destination-port-number>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
#      Specifies the remote port number at which managers are expected
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
#      to listen for trap. For each host defined in the ACL file,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
#      the SNMP agent will send traps at <host>:<trap-destination-port-number>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
#      Default for this property is 162.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
# To set port for sending traps to a different port use following line
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
# com.sun.management.snmp.trap=<trap-destination-port-number>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
# ################ SNMP listen interface #########################
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
# com.sun.management.snmp.interface=<InetAddress>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
#      Specifies the local interface on which the SNMP agent will bind.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
#      This is usefull when running on machines which have several
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
#      interfaces defined. It makes it possible to listen to a specific
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
#      subnet accessible through that interface.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
#      Default for this property is "localhost".
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
#      The format of the value for that property is any string accepted
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
#      by java.net.InetAddress.getByName(String).
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 23031
diff changeset
    92
#
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
# For restricting the port on which SNMP agent listens use following line
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
# com.sun.management.snmp.interface=<InetAddress>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
# #################### SNMP ACL file #########################
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
# com.sun.management.snmp.acl=true|false
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
#      Default for this property is true. (Case for true/false ignored)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
#      If this property is specified as false then the ACL file
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
#      is not checked:  all manager hosts are allowed all access.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
# For SNMP without checking ACL file uncomment the following line
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
# com.sun.management.snmp.acl=false
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
# com.sun.management.snmp.acl.file=filepath
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
#      Specifies location for ACL file
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
#      This is optional - default location is
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 23031
diff changeset
   113
#      $JRE/conf/management/snmp.acl
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 23031
diff changeset
   114
#
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
#      If the property "com.sun.management.snmp.acl" is set to false,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   116
#      then this property and the ACL file are ignored.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
#      Otherwise the ACL file must exist and be in the valid format.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
#      If the ACL file is empty or non existent then no access is allowed.
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 23031
diff changeset
   119
#
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 23031
diff changeset
   120
#      The SNMP agent will read the ACL file at startup time.
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 23031
diff changeset
   121
#      Modification to the ACL file has no effect to any running SNMP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
#      agents which read that ACL file at startup.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
90ce3da70b43 Initial load
duke
parents:
diff changeset
   125
# For a non-default acl file location use following line
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
# com.sun.management.snmp.acl.file=filepath
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
#####################################################################
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
#			RMI Management Properties
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
#####################################################################
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
# If system property -Dcom.sun.management.jmxremote.port=<port-number>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
# is set then
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 23031
diff changeset
   134
#     - A MBean server is started
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   135
#     - JRE Platform MBeans are registered in the MBean server
90ce3da70b43 Initial load
duke
parents:
diff changeset
   136
#     - RMI connector is published  in a private readonly registry at
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
#       specified port using a well known name, "jmxrmi"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   138
#     - the following properties are read for JMX remote management.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
# The configuration can be specified only at startup time.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   141
# Later changes to above system property (e.g. via setProperty method),
90ce3da70b43 Initial load
duke
parents:
diff changeset
   142
# this config file, the password file, or the access file have no effect to the
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 23031
diff changeset
   143
# running MBean server, the connector, or the registry.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   144
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   145
90ce3da70b43 Initial load
duke
parents:
diff changeset
   146
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   147
# ###################### RMI SSL #############################
90ce3da70b43 Initial load
duke
parents:
diff changeset
   148
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   149
# com.sun.management.jmxremote.ssl=true|false
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
#      Default for this property is true. (Case for true/false ignored)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   151
#      If this property is specified as false then SSL is not used.
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 23031
diff changeset
   152
#
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   153
90ce3da70b43 Initial load
duke
parents:
diff changeset
   154
# For RMI monitoring without SSL use the following line
90ce3da70b43 Initial load
duke
parents:
diff changeset
   155
# com.sun.management.jmxremote.ssl=false
90ce3da70b43 Initial load
duke
parents:
diff changeset
   156
90ce3da70b43 Initial load
duke
parents:
diff changeset
   157
# com.sun.management.jmxremote.ssl.enabled.cipher.suites=<cipher-suites>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   158
#      The value of this property is a string that is a comma-separated list
90ce3da70b43 Initial load
duke
parents:
diff changeset
   159
#      of SSL/TLS cipher suites to enable. This property can be specified in
90ce3da70b43 Initial load
duke
parents:
diff changeset
   160
#      conjunction with the previous property "com.sun.management.jmxremote.ssl"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   161
#      in order to control which particular SSL/TLS cipher suites are enabled
90ce3da70b43 Initial load
duke
parents:
diff changeset
   162
#      for use by accepted connections. If this property is not specified then
90ce3da70b43 Initial load
duke
parents:
diff changeset
   163
#      the SSL/TLS RMI Server Socket Factory uses the SSL/TLS cipher suites that
90ce3da70b43 Initial load
duke
parents:
diff changeset
   164
#      are enabled by default.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   165
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   166
90ce3da70b43 Initial load
duke
parents:
diff changeset
   167
# com.sun.management.jmxremote.ssl.enabled.protocols=<protocol-versions>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   168
#      The value of this property is a string that is a comma-separated list
90ce3da70b43 Initial load
duke
parents:
diff changeset
   169
#      of SSL/TLS protocol versions to enable. This property can be specified in
90ce3da70b43 Initial load
duke
parents:
diff changeset
   170
#      conjunction with the previous property "com.sun.management.jmxremote.ssl"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   171
#      in order to control which particular SSL/TLS protocol versions are
90ce3da70b43 Initial load
duke
parents:
diff changeset
   172
#      enabled for use by accepted connections. If this property is not
90ce3da70b43 Initial load
duke
parents:
diff changeset
   173
#      specified then the SSL/TLS RMI Server Socket Factory uses the SSL/TLS
90ce3da70b43 Initial load
duke
parents:
diff changeset
   174
#      protocol versions that are enabled by default.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   175
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   176
90ce3da70b43 Initial load
duke
parents:
diff changeset
   177
# com.sun.management.jmxremote.ssl.need.client.auth=true|false
90ce3da70b43 Initial load
duke
parents:
diff changeset
   178
#      Default for this property is false. (Case for true/false ignored)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   179
#      If this property is specified as true in conjunction with the previous
90ce3da70b43 Initial load
duke
parents:
diff changeset
   180
#      property "com.sun.management.jmxremote.ssl" then the SSL/TLS RMI Server
90ce3da70b43 Initial load
duke
parents:
diff changeset
   181
#      Socket Factory will require client authentication.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   182
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   183
90ce3da70b43 Initial load
duke
parents:
diff changeset
   184
# For RMI monitoring with SSL client authentication use the following line
90ce3da70b43 Initial load
duke
parents:
diff changeset
   185
# com.sun.management.jmxremote.ssl.need.client.auth=true
90ce3da70b43 Initial load
duke
parents:
diff changeset
   186
90ce3da70b43 Initial load
duke
parents:
diff changeset
   187
# com.sun.management.jmxremote.registry.ssl=true|false
90ce3da70b43 Initial load
duke
parents:
diff changeset
   188
#      Default for this property is false. (Case for true/false ignored)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   189
#      If this property is specified as true then the RMI registry used
90ce3da70b43 Initial load
duke
parents:
diff changeset
   190
#      to bind the RMIServer remote object is protected with SSL/TLS
90ce3da70b43 Initial load
duke
parents:
diff changeset
   191
#      RMI Socket Factories that can be configured with the properties:
90ce3da70b43 Initial load
duke
parents:
diff changeset
   192
#          com.sun.management.jmxremote.ssl.enabled.cipher.suites
90ce3da70b43 Initial load
duke
parents:
diff changeset
   193
#          com.sun.management.jmxremote.ssl.enabled.protocols
90ce3da70b43 Initial load
duke
parents:
diff changeset
   194
#          com.sun.management.jmxremote.ssl.need.client.auth
90ce3da70b43 Initial load
duke
parents:
diff changeset
   195
#      If the two properties below are true at the same time, i.e.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   196
#          com.sun.management.jmxremote.ssl=true
90ce3da70b43 Initial load
duke
parents:
diff changeset
   197
#          com.sun.management.jmxremote.registry.ssl=true
90ce3da70b43 Initial load
duke
parents:
diff changeset
   198
#      then the RMIServer remote object and the RMI registry are
90ce3da70b43 Initial load
duke
parents:
diff changeset
   199
#      both exported with the same SSL/TLS RMI Socket Factories.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   200
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   201
90ce3da70b43 Initial load
duke
parents:
diff changeset
   202
# For using an SSL/TLS protected RMI registry use the following line
90ce3da70b43 Initial load
duke
parents:
diff changeset
   203
com.sun.management.jmxremote.registry.ssl=true
90ce3da70b43 Initial load
duke
parents:
diff changeset
   204
90ce3da70b43 Initial load
duke
parents:
diff changeset
   205
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   206
# ################ RMI User authentication ################
90ce3da70b43 Initial load
duke
parents:
diff changeset
   207
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   208
# com.sun.management.jmxremote.authenticate=true|false
90ce3da70b43 Initial load
duke
parents:
diff changeset
   209
#      Default for this property is true. (Case for true/false ignored)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   210
#      If this property is specified as false then no authentication is
90ce3da70b43 Initial load
duke
parents:
diff changeset
   211
#      performed and all users are allowed all access.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   212
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   213
90ce3da70b43 Initial load
duke
parents:
diff changeset
   214
# For RMI monitoring without any checking use the following line
90ce3da70b43 Initial load
duke
parents:
diff changeset
   215
com.sun.management.jmxremote.authenticate=false
90ce3da70b43 Initial load
duke
parents:
diff changeset
   216
90ce3da70b43 Initial load
duke
parents:
diff changeset
   217
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   218
# ################ RMI Login configuration ###################
90ce3da70b43 Initial load
duke
parents:
diff changeset
   219
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   220
# com.sun.management.jmxremote.login.config=<config-name>
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 23031
diff changeset
   221
#      Specifies the name of a JAAS login configuration entry to use when
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 23031
diff changeset
   222
#      authenticating users of RMI monitoring.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   223
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   224
#      Setting this property is optional - the default login configuration
90ce3da70b43 Initial load
duke
parents:
diff changeset
   225
#      specifies a file-based authentication that uses the password file.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   226
#
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 23031
diff changeset
   227
#      When using this property to override the default login configuration
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 23031
diff changeset
   228
#      then the named configuration entry must be in a file that gets loaded
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   229
#      by JAAS. In addition, the login module(s) specified in the configuration
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 23031
diff changeset
   230
#      should use the name and/or password callbacks to acquire the user's
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 23031
diff changeset
   231
#      credentials. See the NameCallback and PasswordCallback classes in the
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   232
#      javax.security.auth.callback package for more details.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   233
#
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 23031
diff changeset
   234
#      If the property "com.sun.management.jmxremote.authenticate" is set to
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   235
#      false, then this property and the password & access files are ignored.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   236
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   237
90ce3da70b43 Initial load
duke
parents:
diff changeset
   238
# For a non-default login configuration use the following line
90ce3da70b43 Initial load
duke
parents:
diff changeset
   239
# com.sun.management.jmxremote.login.config=<config-name>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   240
90ce3da70b43 Initial load
duke
parents:
diff changeset
   241
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   242
# ################ RMI Password file location ##################
90ce3da70b43 Initial load
duke
parents:
diff changeset
   243
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   244
# com.sun.management.jmxremote.password.file=filepath
90ce3da70b43 Initial load
duke
parents:
diff changeset
   245
#      Specifies location for password file
90ce3da70b43 Initial load
duke
parents:
diff changeset
   246
#      This is optional - default location is
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 23031
diff changeset
   247
#      $JRE/conf/management/jmxremote.password
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 23031
diff changeset
   248
#
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 23031
diff changeset
   249
#      If the property "com.sun.management.jmxremote.authenticate" is set to
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   250
#      false, then this property and the password & access files are ignored.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   251
#      Otherwise the password file must exist and be in the valid format.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   252
#      If the password file is empty or non-existent then no access is allowed.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   253
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   254
90ce3da70b43 Initial load
duke
parents:
diff changeset
   255
# For a non-default password file location use the following line
90ce3da70b43 Initial load
duke
parents:
diff changeset
   256
# com.sun.management.jmxremote.password.file=filepath
90ce3da70b43 Initial load
duke
parents:
diff changeset
   257
90ce3da70b43 Initial load
duke
parents:
diff changeset
   258
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   259
# ################ RMI Access file location #####################
90ce3da70b43 Initial load
duke
parents:
diff changeset
   260
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   261
# com.sun.management.jmxremote.access.file=filepath
90ce3da70b43 Initial load
duke
parents:
diff changeset
   262
#      Specifies location for access  file
90ce3da70b43 Initial load
duke
parents:
diff changeset
   263
#      This is optional - default location is
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 23031
diff changeset
   264
#      $JRE/conf/management/jmxremote.access
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 23031
diff changeset
   265
#
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 23031
diff changeset
   266
#      If the property "com.sun.management.jmxremote.authenticate" is set to
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   267
#      false, then this property and the password & access files are ignored.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   268
#      Otherwise, the access file must exist and be in the valid format.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   269
#      If the access file is empty or non-existent then no access is allowed.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   270
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   271
90ce3da70b43 Initial load
duke
parents:
diff changeset
   272
# For a non-default password file location use the following line
90ce3da70b43 Initial load
duke
parents:
diff changeset
   273
# com.sun.management.jmxremote.access.file=filepath