jdk/test/javax/management/Introspector/AnnotationSecurityTest.policy
author ohair
Tue, 12 Apr 2011 18:36:42 -0700
changeset 9064 63c8767f5915
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
grant {
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
     // JMX permissions
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
    permission javax.management.MBeanServerPermission "*";
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
    // Add permission to create and register 1 specific Described MBean
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
    permission javax.management.MBeanPermission "Described#-[defaultDomain:class=Described]", "instantiate";
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
    permission javax.management.MBeanPermission "Described#-[defaultDomain:class=Described]", "registerMBean";
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
    // Add permission to create and register 1 specific Described MXBean
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
    permission javax.management.MBeanPermission "DescribedMX#-[defaultDomain:class=DescribedMX]", "instantiate";
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
    permission javax.management.MBeanPermission "DescribedMX#-[defaultDomain:class=DescribedMX]", "registerMBean";
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
    // Add permission to create and register 1 specific UnDescribed MBean
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
    permission javax.management.MBeanPermission "UnDescribed#-[defaultDomain:class=UnDescribed]", "instantiate";
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
    permission javax.management.MBeanPermission "UnDescribed#-[defaultDomain:class=UnDescribed]", "registerMBean";
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
    //
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
    permission javax.management.MBeanTrustPermission "*";
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
};