I m evaluating using BigMemory as a cache server in my application. One of the requirement is that the application requires SecurityManager running. I tried granting AllPermission to the codeBase of terracotta-toolkit-runtime-ee and net.sf.ehcahe.ee jar file but the application still fails with AccessControlException.
It seems to me the toolkit is loading other classes with a different classloader that does not use the parent's codebase (codebase of null).
Is there anyway around this issue other than granting those permissions to the null codebase? i.e. grant {permission ... }
The following seems to be the permissions needed to grant to the "null" codebase:
permission java.lang.RuntimePermission "getClassLoader";
permission java.lang.RuntimePermission "getProtectionDomain";
permission java.lang.RuntimePermission "setContextClassLoader";
permission java.lang.RuntimePermission "getenv.TC_INSTALL_DIR";
permission java.lang.RuntimePermission "shutdownHooks";
permission java.lang.RuntimePermission "accessDeclaredMembers";
permission java.io.FilePermission "/-", "read";
permission java.util.PropertyPermission "*", "read,write";
permission java.net.NetPermission "specifyStreamHandler";
@klalithr Someone did reach-out to me but didn't provide me any update to my questions. My evaluation license is expiring on 18th, is there a way to extend the evaulation license? Anyone able to help?