[jboss-jira] [JBoss JIRA] (JBVFS-204) File system operations require both java.io.FilePermission and VirtualFilePermission

Ivo Studensky (JIRA) issues at jboss.org
Tue Apr 19 05:50:00 EDT 2016


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

Ivo Studensky resolved JBVFS-204.
---------------------------------
    Fix Version/s: 3.5.0.Alpha1
                   3.2.12.Final
       Resolution: Done


> File system operations require both java.io.FilePermission and VirtualFilePermission
> ------------------------------------------------------------------------------------
>
>                 Key: JBVFS-204
>                 URL: https://issues.jboss.org/browse/JBVFS-204
>             Project: JBoss VFS
>          Issue Type: Bug
>    Affects Versions: 3.2.11.Final, 3.5.0.Alpha1
>            Reporter: Ivo Studensky
>            Assignee: Ivo Studensky
>             Fix For: 3.5.0.Alpha1, 3.2.12.Final
>
>
> File system operations in org.jboss.vfs.VirtualFile check for VirtualFilePermission and then execute the particular io operation which needs java.io.FilePermission if Security Manager is enabled. Because of this a user has to duplicate each permission on a deployment for both VirtualFilePermission and FilePermission.
> It should be enough to check for VirtualFilePermission and execute the io operation inside of the privileged block afterwards.
>  



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list