Skip to content

Commit

Permalink
Allow JRE code to load the sunmscapi DLL
Browse files Browse the repository at this point in the history
  • Loading branch information
hrj committed Jan 5, 2015
1 parent 7cb2c77 commit 687cf0a
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -405,6 +405,10 @@ public PermissionCollection getPermissions(final CodeSource codesource) {
permissions.add(new FilePermission(JAVA_HOME + recursiveSuffix, "read,execute"));

permissions.add(new RuntimePermission("loadLibrary.sunec"));

// Added for issue #10 on GH
permissions.add(new RuntimePermission("loadLibrary.sunmscapi"));

permissions.add(new RuntimePermission("accessClassInPackage.*"));
permissions.add(new SecurityPermission("putProviderProperty.*"));
}
Expand Down

0 comments on commit 687cf0a

Please sign in to comment.