blob: 7bd9fc882c047f9e0a901d09cd0c1fd32625846c [file] [log] [blame]
grant
Principal javax.security.auth.MyPrincipal "duke"
{
permission java.io.FilePermission "/home/duke", "read, write";
};
grant CodeBase "http://dummy.xxx",
Principal javax.security.auth.MyPrincipal "dummy"
{
permission java.lang.RuntimePermission "createClassLoader";
};
grant
Principal javax.security.auth.MyPrincipal "my",
Principal javax.security.auth.OtherPrincipal "other",
{
permission java.security.AllPermission;
};
grant
Principal javax.security.auth.MyPrincipal "bunny"
{
permission java.io.FilePermission "/home/bunny", "read, write";
permission java.lang.RuntimePermission "stopThread";
};