[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Using BigMemory-Max with SecurityManager  XML
Forum Index -> BigMemory
Author Message
gomailme

neo

Joined: 11/07/2014 12:19:35
Messages: 3
Offline

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

consul

Joined: 01/23/2011 10:58:07
Messages: 489
Offline

We will have someone reach out to you to assist your evaluation

Karthik Lalithraj (Terracotta)
gomailme

neo

Joined: 11/07/2014 12:19:35
Messages: 3
Offline

@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?
klalithr

consul

Joined: 01/23/2011 10:58:07
Messages: 489
Offline

The Sales team who called you can provide an extension. Just work through them.

Karthik Lalithraj (Terracotta)
 
Forum Index -> BigMemory
Go to:   
Powered by JForum 2.1.7 © JForum Team