[icedtea-web] RFC: custom policy for trusted applications
Omair Majid
omajid at redhat.com
Tue Jan 4 12:13:12 PST 2011
On 01/04/2011 02:11 PM, Deepak Bhole wrote:
> * Omair Majid<omajid at redhat.com> [2011-01-04 13:46]:
>> On 12/21/2010 06:06 PM, Omair Majid wrote:
>>> Hi,
>>>
>>> The attached patch adds support for using a custom policy file to grant
>>> permissions to trusted applications.
>>>
>>> ChangeLog:
>>> 2010-12-21 Omair Majid<omajid at redhat.com>
>>>
>>> * netx/net/sourceforge/jnlp/SecurityDesc.java: Add
>>> customTrustedPolicy.
>>> (SecurityDesc): Initialize customTrustedPolicy.
>>> (getCustomTrustedPolicy): New method. Get custom policy file from
>>> configuration and use it to initialize a custom configuration.
>>> (getPermissions): If trusted application and customTrustedPolicy is
>>> not null, delegate to otherwise return AllPermissions.
>>> * netx/net/sourceforge/jnlp/config/Defaults.java
>>> (getDefaults): Use constant for property.
>>> * netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java:
>>> Add new constant KEY_SECURITY_TRUSTED_POLICY.
>>> * netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java
>>> (installEnvironment): Pass cs as a parameter to
>>> SecurityDesc.getPermissions.
>>> * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
>>> (getPermissions): Likewise.
>>>
>>> Any comments or concerns?
>>>
>>> Cheers,
>>> Omair
>>
>> Ok to commit?
>>
>
> Looks fine to me. OK for HEAD.
>
Thanks. Pushed to HEAD.
Cheers,
Omair
More information about the distro-pkg-dev
mailing list