view test/javax/management/Introspector/AnnotationSecurityTest.policy @ 4338:9b8c96f96a0f

Added tag jdk7-b147 for changeset f097ca2434b1
author schien
date Mon, 27 Jun 2011 13:21:34 -0700
parents
children
line wrap: on
line source
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 "*";
};