8154189: Deprivilege java.sql and java.sql.rowset module

Reviewed-by: alanb, mchung
This commit is contained in:
Lance Andersen 2016-05-31 13:43:15 -04:00
parent 9f834231d5
commit 8e7633221f

View File

@ -33,6 +33,14 @@ grant codeBase "jrt:/jdk.crypto.ucrypto" {
permission java.io.FilePermission "${java.home}/conf/security/ucrypto-solaris.cfg", "read";
};
grant codeBase "jrt:/java.sql" {
permission java.security.AllPermission;
};
grant codeBase "jrt:/java.sql.rowset" {
permission java.security.AllPermission;
};
grant codeBase "jrt:/jdk.crypto.ec" {
permission java.lang.RuntimePermission "accessClassInPackage.sun.security.*";
permission java.lang.RuntimePermission "loadLibrary.sunec";