[icedtea-web] RFC: use deployment-specific system- and user-level policy files to grant permissions
omajid at redhat.com
Fri Dec 17 15:03:54 PST 2010
The following patch makes these two properties from
deployment.properties have effect:
The patch makes the JNLPPolicy class look for permissions for the given
code source in the files defined by these two properties as well.
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.
-------------- next part --------------
A non-text attachment was scrubbed...
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