jdk-24/test/jdk/sun/security/provider/PolicyFile/SelfExpansion.policy
2017-09-12 19:03:39 +02:00

11 lines
463 B
Plaintext

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";
};