grant codeBase "file:${org.freeplane.basedirectory}/-" {
        permission java.security.AllPermission;
};

grant codeBase "file:${org.freeplane.os.lib.ext}/*" {
        permission java.security.AllPermission;
};

// Allow to use javac from tools.jar
grant codeBase "file:${java.home}/../lib/tools.jar" {
  permission java.security.AllPermission;
};

grant codeBase "file:/usr/share/java/java-atk-wrapper.jar" {
  permission java.security.AllPermission;
};

grant codeBase "file:/usr/lib64/java-atk-wrapper/java-atk-wrapper.jar" {
        permission java.security.AllPermission;
};

grant {
		permission java.io.FilePermission "${org.freeplane.basedirectory}/-", "read";
        permission java.lang.RuntimePermission "getClassLoader";
};
