[jboss-dev-forums] [Design of POJO Server] - Re: VFS Permissions - JBMICROCONT-149
adrian@jboss.org
do-not-reply at jboss.com
Mon Nov 10 11:48:07 EST 2008
"adrian at 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).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188195#4188195
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4188195
More information about the jboss-dev-forums
mailing list