Fork me on GitHub
<< back to Core Developers Guide Edit on GitHub

SunOne 7.0

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