aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOmair Majid <[email protected]>2011-03-02 11:50:30 -0500
committerOmair Majid <[email protected]>2011-03-02 11:50:30 -0500
commit6d523c8c11ffa7913ca1b0836d51f163ba3e268e (patch)
treed9438b14c37afb75a3692f77b5078632f1a4ed14
parent7560f6cf836b6fccf72b9715447189caf2501570 (diff)
Fix PR612: NetDania application ends on java.security.AccessControlException
NetDania application ends on java.security.AccessControlException: access denied (java.util.PropertyPermission browser read). Grant untrusted applets and applications access to "browser" and "broser.*" system properties. 2011-03-02 Omair Majid <[email protected]> Fix PR612. * NEWS: Update with fix. * netx/net/sourceforge/jnlp/SecurityDesc.java: Add PropertyPermissions for browser and browser.* to sandboxPermissions.
-rw-r--r--ChangeLog7
-rw-r--r--NEWS2
-rw-r--r--netx/net/sourceforge/jnlp/SecurityDesc.java2
3 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7aced24..c68ea44 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2011-03-02 Omair Majid <[email protected]>
+ Fix PR612.
+ * NEWS: Update with fix.
+ * netx/net/sourceforge/jnlp/SecurityDesc.java: Add PropertyPermissions for
+ browser and browser.* to sandboxPermissions.
+
+2011-03-02 Omair Majid <[email protected]>
+
* netx/net/sourceforge/jnlp/controlpanel/CommandLine.java
(handleSetCommand): Fix warning message.
* netx/net/sourceforge/jnlp/resources/Messages.properties: Add
diff --git a/NEWS b/NEWS
index a4ff30c..c0f5c82 100644
--- a/NEWS
+++ b/NEWS
@@ -20,6 +20,8 @@ New in release 1.1 (2011-XX-XX):
* NetX
- Use Firefox's proxy settings if possible
- RH669942: javaws fails to download version/packed files (missing support for jnlp.packEnabled and jnlp.versionEnabled)
+* Plugin
+ - PR612: NetDania application ends on java.security.AccessControlException: access denied (java.util.PropertyPermission browser read)
New in release 1.0 (2010-XX-XX):
diff --git a/netx/net/sourceforge/jnlp/SecurityDesc.java b/netx/net/sourceforge/jnlp/SecurityDesc.java
index ee5ea5f..f044237 100644
--- a/netx/net/sourceforge/jnlp/SecurityDesc.java
+++ b/netx/net/sourceforge/jnlp/SecurityDesc.java
@@ -109,6 +109,8 @@ public class SecurityDesc {
new PropertyPermission("javaplugin.*", "read"),
new PropertyPermission("jnlp.*", "read,write"),
new PropertyPermission("javaws.*", "read,write"),
+ new PropertyPermission("browser", "read"),
+ new PropertyPermission("browser.*", "read"),
new RuntimePermission("exitVM"),
new RuntimePermission("stopThread"),
// disabled because we can't at this time prevent an