|
Java example source code file (policy35)
The policy35 Java example source codegrant codebase "file:/-" { permission javax.security.auth.AuthPermission "createLoginContext.JMXPluggableAuthenticator"; permission java.net.SocketPermission "*:*", "accept,connect,listen,resolve"; permission java.security.SecurityPermission "createAccessControlContext"; permission javax.management.remote.SubjectDelegationPermission "javax.management.remote.JMXPrincipal.monitorRole"; }; grant principal javax.management.remote.JMXPrincipal "monitorRole" { permission javax.management.remote.SubjectDelegationPermission "javax.management.remote.JMXPrincipal.delegate"; }; grant principal javax.management.remote.JMXPrincipal "delegate" { // permission javax.management.MBeanPermission "*", "getDomains"; permission javax.management.MBeanPermission "SimpleStandard#State[MBeans:type=SimpleStandard]", "getAttribute"; permission javax.security.auth.AuthPermission "getSubject"; permission javax.management.MBeanPermission "SimpleStandard#State[MBeans:type=SimpleStandard]", "setAttribute"; permission javax.management.MBeanPermission "SimpleStandard#-[MBeans:type=SimpleStandard]", "addNotificationListener"; permission javax.management.MBeanPermission "javax.management.MBeanServerDelegate#-[JMImplementation:type=MBeanServerDelegate]", "addNotificationListener"; permission javax.management.MBeanPermission "javax.management.MBeanServerDelegate#-[JMImplementation:type=MBeanServerDelegate]", "removeNotificationListener"; permission javax.management.MBeanPermission "SimpleStandard#-[MBeans:type=SimpleStandard]", "unregisterMBean"; }; Other Java examples (source code examples)Here is a short list of links related to this Java policy35 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.