author | erikj |
Tue, 12 Sep 2017 19:03:39 +0200 | |
changeset 47216 | 71c04702a3d5 |
parent 31804 | jdk/test/java/security/SecureClassLoader/DefineClass.policy@013c14047253 |
child 54997 | a573f58bc798 |
permissions | -rw-r--r-- |
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 |
}; |