new AWTPermission("*")

This commit is contained in:
Reinhard Pointner 2016-11-24 16:28:40 +08:00
parent 839d2cc7b8
commit 3887213e1c
1 changed files with 1 additions and 2 deletions

View File

@ -42,8 +42,7 @@ public class SecureCompiledScript extends CompiledScript {
permissions.add(new RuntimePermission("getFileSystemAttributes")); permissions.add(new RuntimePermission("getFileSystemAttributes"));
permissions.add(new RuntimePermission("readFileDescriptor")); permissions.add(new RuntimePermission("readFileDescriptor"));
permissions.add(new RuntimePermission("preferences")); permissions.add(new RuntimePermission("preferences"));
permissions.add(new AWTPermission("toolkitModality")); permissions.add(new AWTPermission("*"));
permissions.add(new AWTPermission("setWindowAlwaysOnTop"));
permissions.add(new FilePermission("<<ALL FILES>>", "read")); permissions.add(new FilePermission("<<ALL FILES>>", "read"));
permissions.add(new SocketPermission("*", "connect")); permissions.add(new SocketPermission("*", "connect"));
permissions.add(new PropertyPermission("*", "read")); permissions.add(new PropertyPermission("*", "read"));