[icedtea-web] RFC: custom policy for trusted applications

Omair Majid omajid at redhat.com
Tue Jan 4 10:45:08 PST 2011


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?

Cheers,
Omair



More information about the distro-pkg-dev mailing list