diff options
author | Deepak Bhole <[email protected]> | 2012-06-05 10:11:09 -0400 |
---|---|---|
committer | Deepak Bhole <[email protected]> | 2012-06-05 10:11:09 -0400 |
commit | 5319aa17959526c2848fb091cf0fe52b34b54334 (patch) | |
tree | 07cc0aba0105bb8b0615a325e1162fa195d0aa9a /ChangeLog | |
parent | e60a2847c802c9a13e8171c9f7a05aad3b1d0da3 (diff) |
PR861: Allow loading from non codebase hosts. Allow code to connect to hosting server
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -1,3 +1,23 @@ +2012-06-05 Deepak Bhole <[email protected]> + + PR861: Allow loading from non codebase hosts. Allow code to connect to + hosting server. + * netx/net/sourceforge/jnlp/SecurityDesc.java + (getSandBoxPermissions): Only add host if it is not empty. + * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java + (getPermissions): Add SocketPermission for code source host. + (findLoadedClassAll): Call super methods privileged so that connection to + non codebase hosts can be made. + (findClass): Same. + (findResourcesBySearching): Same. Also use privileged context for enum + operations because the enum is defined on the fly by URLClassLoader and + checks for hosting server connectivity via next(). + (getAccessControlContextForClassLoading): New method. Returns a control + context for classloader operations like find/load/etc. + (CodeBaseClassLoader::findClass): Call super methods privileged so that + connection to non codebase hosts can be made. + (CodeBaseClassLoader::findResource): Same. + 2012-06-05 Jiri Vanek <[email protected]> * tests/netx/jnlp_testsengine/net/sourceforge/jnlp/annotations/KnownToFail.java |