[icedtea-web] RFC: use deployment-specific system- and user-level policy files to grant permissions
Omair Majid
omajid at redhat.com
Tue Jan 4 10:48:15 PST 2011
On 12/17/2010 06:03 PM, Omair Majid wrote:
> Hi,
>
> The following patch makes these two properties from
> deployment.properties have effect:
> deployment.user.security.policy
> deployment.system.security.policy
>
> The patch makes the JNLPPolicy class look for permissions for the given
> code source in the files defined by these two properties as well.
>
> Thoughts?
>
> ChangeLog:
> 2010-12-17 Omair Majid <omajid at redhat.com>
>
> * netx/net/sourceforge/jnlp/runtime/JNLPPolicy.java: Add
> systemJnlpPolicy and userJnlpPolicy.
> (JNLPPolicy): Initialize the new policies.
> (getPermissions): Consult the extra policies as well to determine the
> resulting permissions to be granted.
> (getPolicyFromConfig): New method. Create a new Policy instance to
> delegate to for system- and user-level policies.
>
> Cheers,
> Omair
Ok to commit?
Cheers,
Omair
More information about the distro-pkg-dev
mailing list