0N/A// granted to jtreg
0N/Agrant codebase "file:/net/koori.sfbay/-" {
0N/A permission java.security.AllPermission;
0N/A};
0N/A
0N/A// granted to the test class
0N/Agrant codebase "file:${test.classes}/" {
0N/A permission javax.security.auth.AuthPermission "modifyPrincipals";
0N/A permission javax.security.auth.AuthPermission "doAs";
0N/A permission java.io.FilePermission "/testFile", "read";
0N/A};
0N/A
0N/A// granted to the test action
0N/A// -- the test moves the compiled action into the src directory
0N/A// -- via the shell script. this way we can ensure different
0N/A// -- codebases for the test and the action
0N/Agrant codebase "file:${test.src}/",
0N/A principal com.sun.security.auth.SolarisPrincipal "TestPrincipal",
0N/A principal com.sun.security.auth.SolarisPrincipal "${bad.property}" {
0N/A permission java.io.FilePermission "/testFile", "read";
0N/A};