|
Java example source code file (AnnotationSecurityTest.policy)
The AnnotationSecurityTest.policy Java example source codegrant { // 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 "*"; }; Other Java examples (source code examples)Here is a short list of links related to this Java AnnotationSecurityTest.policy source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.