jdk/test/sun/security/provider/PolicyFile/SelfExpansion.policy
author jlaskey
Fri, 20 May 2016 11:41:29 -0300
changeset 38445 0a88d86065f9
parent 2 90ce3da70b43
permissions -rw-r--r--
8156602: javac crashes again on Windows 32-bit with ClosedChannelException Reviewed-by: alanb

grant {
    permission javax.security.auth.AuthPermission "modifyPrincipals";
    permission javax.security.auth.AuthPermission "modifyPrivateCredentials";
    permission javax.security.auth.AuthPermission "doAsPrivileged";
    permission javax.security.auth.AuthPermission "getSubject";
};

grant principal javax.security.auth.x500.X500Principal "CN=test" {
    permission javax.security.auth.PrivateCredentialPermission "java.lang.String ${{self}}", "read";
};