|
@@ -95,7 +95,6 @@ public class PolicyUtil {
|
|
|
createFilePermission("<<ALL FILES>>", "read"),
|
|
|
|
|
|
new ReflectPermission("suppressAccessChecks"),
|
|
|
- new RuntimePermission("createClassLoader"),
|
|
|
new RuntimePermission("getClassLoader"),
|
|
|
new RuntimePermission("setContextClassLoader"),
|
|
|
new RuntimePermission("setFactory"),
|
|
@@ -163,6 +162,7 @@ public class PolicyUtil {
|
|
|
// but that we do not think plugins in general should need.
|
|
|
List<Permission> modulePermissions = List.of(
|
|
|
createFilePermission("<<ALL FILES>>", "read,write"),
|
|
|
+ new RuntimePermission("createClassLoader"),
|
|
|
new RuntimePermission("getFileStoreAttributes"),
|
|
|
new RuntimePermission("accessUserInformation"),
|
|
|
new AuthPermission("modifyPrivateCredentials")
|