jdk/test/javax/management/Introspector/AnnotationSecurityTest.policy
author coleenp
Wed, 17 Jun 2015 21:44:48 +0000
changeset 31362 8957ccbb5821
parent 2 90ce3da70b43
permissions -rw-r--r--
8098821: Crash in system dictionary initialization with shared strings Summary: map string regions after the compressed class base is known Reviewed-by: iklam, dcubed Contributed-by: coleen.phillimore@oracle.com, mikhailo.seledtsov@oracle.com
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
};