[icedtea-web] RFC: use deployment-specific system- and user-level policy files to grant permissions
Omair Majid
omajid at redhat.com
Fri Dec 17 15:03:54 PST 2010
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-permissions-from-jnlp-policy-01.patch
Type: text/x-patch
Size: 4186 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20101217/60312613/add-permissions-from-jnlp-policy-01.patch
More information about the distro-pkg-dev
mailing list