jdk/test/javax/management/remote/mandatory/subjectDelegation/policy34
author duke
Sat, 01 Dec 2007 00:00:00 +0000
changeset 2 90ce3da70b43
child 44006 5b8abcec4b80
permissions -rw-r--r--
Initial load
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
grant codebase "file:/-" {
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
    permission javax.security.auth.AuthPermission "createLoginContext.JMXPluggableAuthenticator";
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
    permission java.net.SocketPermission "*:*", "accept,connect,listen,resolve";
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
    permission java.security.SecurityPermission "createAccessControlContext";
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
    permission javax.management.remote.SubjectDelegationPermission "javax.management.remote.JMXPrincipal.monitorRole";
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
grant principal javax.management.remote.JMXPrincipal "monitorRole" {
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
    permission javax.management.remote.SubjectDelegationPermission "javax.management.remote.JMXPrincipal.delegate";
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
grant principal javax.management.remote.JMXPrincipal "delegate" {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
    permission javax.management.MBeanPermission "*", "getDomains";
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
    permission javax.management.MBeanPermission "SimpleStandard#State[MBeans:type=SimpleStandard]", "getAttribute";
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
    permission javax.security.auth.AuthPermission "getSubject";
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
    permission javax.management.MBeanPermission "SimpleStandard#State[MBeans:type=SimpleStandard]", "setAttribute";
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
    permission javax.management.MBeanPermission "SimpleStandard#-[MBeans:type=SimpleStandard]", "addNotificationListener";
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
    permission javax.management.MBeanPermission "javax.management.MBeanServerDelegate#-[JMImplementation:type=MBeanServerDelegate]", "addNotificationListener";
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
    permission javax.management.MBeanPermission "javax.management.MBeanServerDelegate#-[JMImplementation:type=MBeanServerDelegate]", "removeNotificationListener";
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
    permission javax.management.MBeanPermission "SimpleStandard#-[MBeans:type=SimpleStandard]", "unregisterMBean";
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
};