Mercurial > hg > release > icedtea-web-1.0
changeset 105:05e15b654ff0
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 <omajid@redhat.com>
Fix PR612.
* NEWS: Update with fix.
* netx/net/sourceforge/jnlp/SecurityDesc.java: Add PropertyPermissions for
browser and browser.* to sandboxPermissions.
author | Omair Majid <omajid@redhat.com> |
---|---|
date | Wed, 02 Mar 2011 11:58:03 -0500 |
parents | ce4eb836f592 |
children | dd73915dfe99 |
files | ChangeLog NEWS netx/net/sourceforge/jnlp/SecurityDesc.java |
diffstat | 3 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Tue Feb 22 19:19:31 2011 -0500 +++ b/ChangeLog Wed Mar 02 11:58:03 2011 -0500 @@ -1,3 +1,10 @@ +2011-03-02 Omair Majid <omajid@redhat.com> + + Fix PR612. + * NEWS: Update with fix. + * netx/net/sourceforge/jnlp/SecurityDesc.java: Add PropertyPermissions for + browser and browser.* to sandboxPermissions. + 2011-02-22 Omair Majid <omajid@redhat.com> Mark Greenwood <mark@dcs.shef.ac.uk>
--- a/NEWS Tue Feb 22 19:19:31 2011 -0500 +++ b/NEWS Wed Mar 02 11:58:03 2011 -0500 @@ -11,6 +11,8 @@ New in release 1.0.2 (2011-XX-XX): * Common Fixes and Improvements - PR638: JNLPClassLoader.loadClass(String name) can return null +* Plugin + - PR612: NetDania application ends on java.security.AccessControlException: access denied (java.util.PropertyPermission browser read) New in release 1.0.1 (2011-02-15):
--- a/netx/net/sourceforge/jnlp/SecurityDesc.java Tue Feb 22 19:19:31 2011 -0500 +++ b/netx/net/sourceforge/jnlp/SecurityDesc.java Wed Mar 02 11:58:03 2011 -0500 @@ -107,6 +107,8 @@ 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