view test/javax/security/auth/Subject/doAs/policy.two.principals @ 17467:f8e75da258cd

8205124: aarch32: make build work again with jvm-variant=core Reviewed-by: duke
author enevill
date Fri, 15 Jun 2018 21:24:39 +0100
parents 7969f7b6465e
children
line wrap: on
line source
grant codeBase "file:NestedActionsTwoPrincipals.jar" {
    permission javax.security.auth.AuthPermission "getSubject";
    permission javax.security.auth.AuthPermission "modifyPrincipals";
    permission javax.security.auth.AuthPermission "doAs";
    permission java.util.PropertyPermission "path.separator", "read";
    permission java.util.PropertyPermission "file.separator", "read";
    permission java.util.PropertyPermission "test.classes", "read";
    permission java.util.PropertyPermission "test.src", "read";
    permission java.util.PropertyPermission "test.java.opts", "read";
    permission java.util.PropertyPermission "java.home", "read";
    permission java.util.PropertyPermission "java.class.path", "read";
    permission java.io.FilePermission "NestedActions.tmp", "read,write,delete";
};

grant codeBase "file:WriteToFileAction.jar"
        Principal javax.security.auth.x500.X500Principal "cn=Duke" {
    permission javax.security.auth.AuthPermission "getSubject";
    permission javax.security.auth.AuthPermission "doAs";
    permission javax.security.auth.AuthPermission "modifyPrincipals";
    permission java.util.PropertyPermission "java.class.path", "read";
    permission java.io.FilePermission "NestedActions.tmp", "read,write";
};

grant codeBase "file:ReadFromFileAction.jar"
        Principal javax.security.auth.x500.X500Principal "cn=Duke"{
    permission javax.security.auth.AuthPermission "getSubject";
    permission javax.security.auth.AuthPermission "doAs";
    permission java.util.PropertyPermission "java.class.path", "read";
    permission java.io.FilePermission "NestedActions.tmp", "read";
};

grant codeBase "file:ReadPropertyAction.jar"
        Principal javax.security.auth.x500.X500Principal "cn=Java" {
    permission javax.security.auth.AuthPermission "getSubject";
    permission javax.security.auth.AuthPermission "doAs";
    permission java.util.PropertyPermission "java.class.path", "read";
};