Apache Struts 2 Documentation > Home > Guides > Core Developers Guide > Application Servers > SunOne 7.0 |

Apache Struts 2 Documentation
SunOne 7.0
Edit Page Browse Space Add Page Add News
Added by Patrick Lightbody, last edited by Ted Husted on Sep 03, 2006 (view change) show comment hide comment
Comment:
Update parent page
View page history

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