jdk/test/sun/security/provider/PolicyFile/AliasExpansion.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

keystore "file:${test.src}/Alias.keystore";

grant {
    permission javax.security.auth.PrivateCredentialPermission
	"java.lang.String ${{alias:x509test person}}", "read";
    permission java.security.SecurityPermission
	"abcde ${{alias:x509test person}} fghij ${{alias:x509test person}}";
    permission java.security.SecurityPermission
	"${{alias:x509test person}}";
    permission java.security.SecurityPermission
	"${{alias:x509test person}} abc";

    // these three are erroneous but should not cause the
    // test to fail.  they should simply cause notification output to be
    // dumped to stderr.
    permission java.security.SecurityPermission
	"${{alias:notthere}}";
    permission java.security.SecurityPermission
	"${{unsupported}}";
    permission java.security.SecurityPermission
	"${{alias}}";
};

// Standard extensions get all permissions
grant codeBase "file:${java.home}/lib/ext/*" {
        permission java.security.AllPermission;
};