jdk/test/sun/security/provider/PolicyFile/Alias.policy
changeset 2 90ce3da70b43
child 25408 27563093d2d2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jdk/test/sun/security/provider/PolicyFile/Alias.policy	Sat Dec 01 00:00:00 2007 +0000
@@ -0,0 +1,18 @@
+keystore "file:${test.src}/Alias.keystore";
+
+grant {
+    permission java.security.SecurityPermission "getPolicy";
+};
+
+grant	codebase "http://alias",
+	principal "x509test person",
+	principal "duke",
+	principal com.sun.security.auth.UnixPrincipal "unix" {
+    permission java.security.SecurityPermission "ALIAS";
+};
+
+// Standard extensions get all permissions
+grant codeBase "file:${java.home}/lib/ext/*" {
+        permission java.security.AllPermission;
+};
+