You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

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

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
grant {
	permission java.util.PropertyPermission "*", "read, write";
	permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
	permission ognl.OgnlInvokePermission "*";
};
  • No labels