Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment:

Update parent page

To use SunOne wkith the framework, you will need to grant the appropriate permissions. You can simply grant all permissions, or just the specific permissions the framework needs.

Granting All Permissions

Code Block
grant {
	permission java.security.AllPermission;
};

Granting Specific Permissions

  • Grant Write Permissions to java.util.PropertyPermission
  • Add java.lang.reflect.ReflectPermission "suppressAccessChecks"
  • Grant all permissions to OgnlInvokePermission
Code Block
grant {
	permission java.util.PropertyPermission "*", "read, write";
	permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
	permission ognl.OgnlInvokePermission "*";
};