aboutsummaryrefslogtreecommitdiffstats
path: root/netx/javax
diff options
context:
space:
mode:
authorOmair Majid <[email protected]>2011-01-04 15:12:40 -0500
committerOmair Majid <[email protected]>2011-01-04 15:12:40 -0500
commit6144e5cba6ef2e89096e6a74b74dd0d5ebf996b1 (patch)
treea0c4f7a837ca8c64e1e89c0b95d09956a8caf025 /netx/javax
parent0cc285288f1f96cafd7dc069ed040337c4a25f58 (diff)
allow custom permissions instead of all permissions for trusted code
2011-01-04 Omair Majid <[email protected]> * 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.
Diffstat (limited to 'netx/javax')
0 files changed, 0 insertions, 0 deletions