~ubuntu-branches/ubuntu/utopic/gridengine/utopic

« back to all changes in this revision

Viewing changes to source/libs/jgdi/util/jmxremote.access

  • Committer: Bazaar Package Importer
  • Author(s): Mark Hymers
  • Date: 2008-06-25 22:36:13 UTC
  • Revision ID: james.westby@ubuntu.com-20080625223613-tvd9xlhuoct9kyhm
Tags: upstream-6.2~beta2
ImportĀ upstreamĀ versionĀ 6.2~beta2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#___INFO__MARK_BEGIN__
 
2
###########################################################################
 
3
#  The Contents of this file are made available subject to the terms of
 
4
#  the Sun Industry Standards Source License Version 1.2
 
5
 
6
#  Sun Microsystems Inc., March, 2001
 
7
 
8
 
9
#  Sun Industry Standards Source License Version 1.2
 
10
#  =================================================
 
11
#  The contents of this file are subject to the Sun Industry Standards
 
12
#  Source License Version 1.2 (the "License"); You may not use this file
 
13
#  except in compliance with the License. You may obtain a copy of the
 
14
#  License at http://gridengine.sunsource.net/Gridengine_SISSL_license.html
 
15
 
16
#  Software provided under this License is provided on an "AS IS" basis,
 
17
#  WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
 
18
#  WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
 
19
#  MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
 
20
#  See the License for the specific provisions governing your rights and
 
21
#  obligations concerning the Software.
 
22
 
23
#  The Initial Developer of the Original Code is: Sun Microsystems, Inc.
 
24
 
25
#  Copyright: 2006 by Sun Microsystems, Inc
 
26
 
27
#  All Rights Reserved.
 
28
 
29
###########################################################################
 
30
#___INFO__MARK_END__
 
31
#
 
32
######################################################################
 
33
#     Default Access Control File for Remote JMX(TM) Monitoring
 
34
######################################################################
 
35
#
 
36
# Access control file for Remote JMX API access to monitoring.
 
37
# This file defines the allowed access for different roles.  The
 
38
# password file (jmxremote.password by default) defines the roles and their
 
39
# passwords.  To be functional, a role must have an entry in
 
40
# both the password and the access files.
 
41
#
 
42
# Default location of this file is $JRE/lib/management/jmxremote.access
 
43
# You can specify an alternate location by specifying a property in 
 
44
# the management config file $JRE/lib/management/management.properties
 
45
# (See that file for details)
 
46
#
 
47
# The file format for password and access files is syntactically the same
 
48
# as the Properties file format.  The syntax is described in the Javadoc
 
49
# for java.util.Properties.load.
 
50
# Typical access file has multiple  lines, where each line is blank,
 
51
# a comment (like this one), or an access control entry.
 
52
#
 
53
# An access control entry consists of a role name, and an
 
54
# associated access level.  The role name is any string that does not
 
55
# itself contain spaces or tabs.  It corresponds to an entry in the
 
56
# password file (jmxremote.password).  The access level is one of the
 
57
# following:
 
58
#       "readonly" grants access to read attributes of MBeans.
 
59
#                   For monitoring, this means that a remote client in this
 
60
#                   role can read measurements but cannot perform any action
 
61
#                   that changes the environment of the running program.
 
62
#       "readwrite" grants access to read and write attributes of MBeans,
 
63
#                   to invoke operations on them, and to create or remove them.
 
64
#                   This access should be granted to only trusted clients, 
 
65
#                   since they can potentially interfere with the smooth
 
66
#                   operation of a running program 
 
67
#
 
68
# A given role should have at most one entry in this file.  If a role
 
69
# has no entry, it has no access.
 
70
# If multiple entries are found for the same role name, then the last
 
71
# access entry is used.
 
72
#
 
73
#
 
74
# Default access control entries:
 
75
# o The "monitorRole" role has readonly access.  
 
76
# o The "controlRole" role has readwrite access.
 
77
 
 
78
monitorRole   readonly
 
79
controlRole   readwrite
 
80