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

grant {
     // JMX permissions
    permission javax.management.MBeanServerPermission "*";
    // Add permission to create and register 1 specific Described MBean
    permission javax.management.MBeanPermission "Described#-[defaultDomain:class=Described]", "instantiate";
    permission javax.management.MBeanPermission "Described#-[defaultDomain:class=Described]", "registerMBean";
    // Add permission to create and register 1 specific Described MXBean
    permission javax.management.MBeanPermission "DescribedMX#-[defaultDomain:class=DescribedMX]", "instantiate";
    permission javax.management.MBeanPermission "DescribedMX#-[defaultDomain:class=DescribedMX]", "registerMBean";
    // Add permission to create and register 1 specific UnDescribed MBean
    permission javax.management.MBeanPermission "UnDescribed#-[defaultDomain:class=UnDescribed]", "instantiate";
    permission javax.management.MBeanPermission "UnDescribed#-[defaultDomain:class=UnDescribed]", "registerMBean";
    //
    permission javax.management.MBeanTrustPermission "*";
};