test/jdk/java/security/SecureClassLoader/DefineClass.policy
author shade
Tue, 15 Oct 2019 19:38:59 +0200
changeset 58604 791217cdc433
parent 55010 8559810c60f8
permissions -rw-r--r--
8232205: Shenandoah: missing "Update References" -> "Update Roots" tracing Reviewed-by: rkennke, zgu
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
31804
013c14047253 8131486: SecureClassLoader key for ProtectionDomain cache also needs to take into account certificates
mullan
parents: 31141
diff changeset
     1
keystore "NONE", "Test8131486", "Test8131486";
013c14047253 8131486: SecureClassLoader key for ProtectionDomain cache also needs to take into account certificates
mullan
parents: 31141
diff changeset
     2
31141
ef5ddf021137 6826789: SecureClassLoader should not use CodeSource URLs as HashMap keys
mullan
parents:
diff changeset
     3
grant {
ef5ddf021137 6826789: SecureClassLoader should not use CodeSource URLs as HashMap keys
mullan
parents:
diff changeset
     4
    permission java.lang.RuntimePermission "getProtectionDomain";
ef5ddf021137 6826789: SecureClassLoader should not use CodeSource URLs as HashMap keys
mullan
parents:
diff changeset
     5
};
ef5ddf021137 6826789: SecureClassLoader should not use CodeSource URLs as HashMap keys
mullan
parents:
diff changeset
     6
grant codebase "http://localhost/" {
ef5ddf021137 6826789: SecureClassLoader should not use CodeSource URLs as HashMap keys
mullan
parents:
diff changeset
     7
    permission java.util.PropertyPermission "user.home", "read";
ef5ddf021137 6826789: SecureClassLoader should not use CodeSource URLs as HashMap keys
mullan
parents:
diff changeset
     8
};
ef5ddf021137 6826789: SecureClassLoader should not use CodeSource URLs as HashMap keys
mullan
parents:
diff changeset
     9
grant codebase "http://127.0.0.1/" {
ef5ddf021137 6826789: SecureClassLoader should not use CodeSource URLs as HashMap keys
mullan
parents:
diff changeset
    10
    permission java.util.PropertyPermission "user.name", "read";
ef5ddf021137 6826789: SecureClassLoader should not use CodeSource URLs as HashMap keys
mullan
parents:
diff changeset
    11
};
31804
013c14047253 8131486: SecureClassLoader key for ProtectionDomain cache also needs to take into account certificates
mullan
parents: 31141
diff changeset
    12
grant codebase "http://localhost/", signedby "baz" {
013c14047253 8131486: SecureClassLoader key for ProtectionDomain cache also needs to take into account certificates
mullan
parents: 31141
diff changeset
    13
    permission java.util.PropertyPermission "user.dir", "read";
013c14047253 8131486: SecureClassLoader key for ProtectionDomain cache also needs to take into account certificates
mullan
parents: 31141
diff changeset
    14
};