I have put some jars in the jvm/lib/ext folder on the Domino server for use in some classes in my database. Everything works except security.
If I place "permission java.security.AllPermission;" (no quotes) in my main grant of the java.policy, everything works, but if I try to narrow it down to a separate grant for just the database with the classes and just the jars in the ext folder, I receive all sorts of security exceptions. For example, I receive a reflection exception because one of the jars is performing reflection.
Here are the two separate grants I have attempted to use together in the file:
grant codeBase "file:/C:/path_to_domino_server_program_directory/jvm/lib/ext/-" {
permission java.security.AllPermission;
}
grant codeBase "xspnsf://server:0/path_to_database/database.nsf/-" {
permission java.security.AllPermission;
};
Any help would be appreciated.