jdk/test/javax/management/remote/mandatory/subjectDelegation/policy21
author hb
Thu, 23 Feb 2017 20:35:25 +0530
changeset 44006 5b8abcec4b80
parent 2 90ce3da70b43
child 47018 7c8ff90abc22
permissions -rw-r--r--
8173130: SubjectDelegation2Test.java and SubjectDelegation3Test.java failing on solaris Reviewed-by: dfuchs
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";
44006
5b8abcec4b80 8173130: SubjectDelegation2Test.java and SubjectDelegation3Test.java failing on solaris
hb
parents: 2
diff changeset
     5
    permission java.lang.RuntimePermission "*";
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
    permission javax.management.MBeanPermission "*", "getDomains";
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
    permission javax.management.MBeanPermission "SimpleStandard#State[MBeans:type=SimpleStandard]", "getAttribute";
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
    permission javax.security.auth.AuthPermission "getSubject";
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
    permission javax.management.MBeanPermission "SimpleStandard#State[MBeans:type=SimpleStandard]", "setAttribute";
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
    permission javax.management.MBeanPermission "SimpleStandard#-[MBeans:type=SimpleStandard]", "addNotificationListener";
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
    permission javax.management.MBeanPermission "javax.management.MBeanServerDelegate#-[JMImplementation:type=MBeanServerDelegate]", "addNotificationListener";
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
    permission javax.management.MBeanPermission "javax.management.MBeanServerDelegate#-[JMImplementation:type=MBeanServerDelegate]", "removeNotificationListener";
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
    permission javax.management.MBeanPermission "SimpleStandard#-[MBeans:type=SimpleStandard]", "unregisterMBean";
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
grant principal javax.management.remote.JMXPrincipal "monitorRole" {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
    permission javax.management.MBeanPermission "*", "getDomains";
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
    permission javax.management.MBeanPermission "SimpleStandard#State[MBeans:type=SimpleStandard]", "getAttribute";
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
    permission javax.security.auth.AuthPermission "getSubject";
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
    permission javax.management.MBeanPermission "SimpleStandard#State[MBeans:type=SimpleStandard]", "setAttribute";
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
    permission javax.management.MBeanPermission "SimpleStandard#-[MBeans:type=SimpleStandard]", "addNotificationListener";
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
    permission javax.management.MBeanPermission "javax.management.MBeanServerDelegate#-[JMImplementation:type=MBeanServerDelegate]", "addNotificationListener";
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
    permission javax.management.MBeanPermission "javax.management.MBeanServerDelegate#-[JMImplementation:type=MBeanServerDelegate]", "removeNotificationListener";
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
    permission javax.management.MBeanPermission "SimpleStandard#-[MBeans:type=SimpleStandard]", "unregisterMBean";
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
};