2
|
1 |
grant {
|
|
2 |
// JMX permissions
|
|
3 |
permission javax.management.MBeanServerPermission "*";
|
|
4 |
// Add permission to create and register 1 specific Described MBean
|
|
5 |
permission javax.management.MBeanPermission "Described#-[defaultDomain:class=Described]", "instantiate";
|
|
6 |
permission javax.management.MBeanPermission "Described#-[defaultDomain:class=Described]", "registerMBean";
|
|
7 |
// Add permission to create and register 1 specific Described MXBean
|
|
8 |
permission javax.management.MBeanPermission "DescribedMX#-[defaultDomain:class=DescribedMX]", "instantiate";
|
|
9 |
permission javax.management.MBeanPermission "DescribedMX#-[defaultDomain:class=DescribedMX]", "registerMBean";
|
|
10 |
// Add permission to create and register 1 specific UnDescribed MBean
|
|
11 |
permission javax.management.MBeanPermission "UnDescribed#-[defaultDomain:class=UnDescribed]", "instantiate";
|
|
12 |
permission javax.management.MBeanPermission "UnDescribed#-[defaultDomain:class=UnDescribed]", "registerMBean";
|
|
13 |
//
|
|
14 |
permission javax.management.MBeanTrustPermission "*";
|
|
15 |
};
|