jdk/test/sun/security/provider/PolicyFile/Alias.policy
author lana
Thu, 10 Jun 2010 18:58:31 -0700
changeset 5753 e0ee3917e318
parent 2 90ce3da70b43
child 25408 27563093d2d2
permissions -rw-r--r--
Merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
keystore "file:${test.src}/Alias.keystore";
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
grant {
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
    permission java.security.SecurityPermission "getPolicy";
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
grant	codebase "http://alias",
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
	principal "x509test person",
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
	principal "duke",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
	principal com.sun.security.auth.UnixPrincipal "unix" {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
    permission java.security.SecurityPermission "ALIAS";
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
// Standard extensions get all permissions
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
grant codeBase "file:${java.home}/lib/ext/*" {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
        permission java.security.AllPermission;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18