jdk-24/jdk/test/sun/security/provider/PolicyFile/wildcard.policy
Sean Mullan 6cd495e473 8008908: Access denied when invoking Subject.doAsPrivileged()
Wildcard principal names are not processed correctly

Reviewed-by: xuelei
2013-03-01 16:12:50 -05:00

8 lines
203 B
Plaintext

grant principal javax.security.auth.x500.X500Principal * {
permission java.util.PropertyPermission "user.home", "read";
};
grant {
permission javax.security.auth.AuthPermission "doAsPrivileged";
};