"adrian(a)jboss.org" wrote : "adrian(a)jboss.org" wrote :
| | 1) The ability to map a vfs url to a real (top level) url
| |
|
| This requires something in the VFS, my suggestion was to add
| VFSUtils.getRealURL(vfsFile);
|
| anonymous wrote :
| | 2) Implementation of a VFSPermission that also implies the real url permission
| | (e.g. FilePermission for vfsfile:)
| |
|
| This is also in the VFS, in the url handlers.
|
| anonymous wrote :
| | 3) The option when you create a vfs classloader to specify whether to use
| | (i) the vfs url or (ii) the real url as the codesource.
| | Either way, we should include the VFSPermission in the ProtectionDomain
| | of the class defined by the VFSClassLoaderPolicy.
| |
|
| This is in the VFSClassLoaderPolicy and it is a simple boolean
| to control which codeSourceURL to use.
| It also requires adding root.toURL().openConnection().getPermission()
| to the permissions of the protection domain (assuming it is not the
| default AllPermission like it currently is now for vfs urls).
https://jira.jboss.org/jira/browse/JBNAME-8
We got JNDIPermissions from Scott recently. I think the VFSPermission should follow this
format.
It is not clear how to configure the VFSClassLoaderPolicy. Is it via the
classloader-system or the class loading?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188218#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...