[jboss-jira] [JBoss JIRA] Assigned: (JBVFS-71) VirtualFileURLConnection needs to override getPermission method

Anil Saldhana (JIRA) jira-events at lists.jboss.org
Fri Nov 7 10:42:36 EST 2008


     [ https://jira.jboss.org/jira/browse/JBVFS-71?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anil Saldhana reassigned JBVFS-71:
----------------------------------

    Assignee: Scott M Stark


> 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
>            Assignee: Scott M Stark
>
> 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#getPermission()
> 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

        



More information about the jboss-jira mailing list