< prev index next >
test/jdk/sun/security/provider/PolicyParser/PrincipalExpansionError.policy
Print this page
rev 59383 : [mq]: final
@@ -13,9 +13,9 @@
// granted to the test action
// -- the test moves the compiled action into the src directory
// -- via the shell script. this way we can ensure different
// -- codebases for the test and the action
grant codebase "file:${test.src}/",
- principal com.sun.security.auth.SolarisPrincipal "TestPrincipal",
- principal com.sun.security.auth.SolarisPrincipal "${bad.property}" {
+ principal com.sun.security.auth.UnixPrincipal "TestPrincipal",
+ principal com.sun.security.auth.UnixPrincipal "${bad.property}" {
permission java.io.FilePermission "/testFile", "read";
};
< prev index next >