jdk/test/java/security/Policy/GetInstance/GetInstance.policy
author duke
Sat, 01 Dec 2007 00:00:00 +0000
changeset 2 90ce3da70b43
child 25408 27563093d2d2
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:${{java.ext.dirs}}/*" {
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
        permission java.security.AllPermission;
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
grant {
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
    permission java.security.SecurityPermission
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
			"createPolicy.JavaPolicy";
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
    permission java.security.SecurityPermission
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
			"createPolicy.FooPolicy";
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
    permission java.security.SecurityPermission
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
			"createPolicy.GetInstancePolicySpi";
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
    permission java.util.PropertyPermission
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
			"test.src", "read";
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
    permission java.lang.RuntimePermission
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
			"accessClassInPackage.sun.net.www";
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
    permission java.io.FilePermission
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
			"${test.src}/GetInstance.policyURL",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
			"read";
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
    permission java.lang.RuntimePermission
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
			"accessClassInPackage.sun.security.provider";
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
    permission java.lang.SecurityPermission
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
			"setSecurityManager";
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
    permission java.lang.RuntimePermission
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
			"getProtectionDomain";
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
    permission java.security.SecurityPermission
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
			"setPolicy";
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
    permission java.security.SecurityPermission
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
			"putProviderProperty.GetInstanceProvider";
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
    permission java.security.SecurityPermission
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
			"GetInstanceTest";
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
};