VirtualFileURLConnection needs to override getPermission method
---------------------------------------------------------------
Key: JBVFS-71
URL:
https://jira.jboss.org/jira/browse/JBVFS-71
Project: JBoss VFS
Issue Type: Task
Security Level: Public (Everyone can see)
Reporter: Anil Saldhana
If ever we figure out how to do VFS protocol handlers in to the Java security system, we
will need this override of the getPermissions method because currently it is getting the
base class URLConnection.getPermission which is just an all-permission.
================
http://java.sun.com/j2se/1.5.0/docs/api/java/net/URLConnection.html#getPe...
Returns a permission object representing the permission necessary to make the connection
represented by this object. This method returns null if no permission is required to make
the connection. By default, this method returns java.security.AllPermission. Subclasses
should override this method and return the permission that best represents the permission
required to make a a connection to the URL. For example, a URLConnection representing a
file: URL would return a java.io.FilePermission object.
================
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira