Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

You To use SunOne wkith the framework, you will need to grant permissions to WebWork: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;
};

or more specifically,

...

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 "*";
};