[jboss-jira] [JBoss JIRA] (WFLY-4111) Unable to read web-application files using ServletContext.getResourceAsStream when security manager is used

David Lloyd (JIRA) issues at jboss.org
Fri Nov 21 08:47:39 EST 2014


    [ https://issues.jboss.org/browse/WFLY-4111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13021932#comment-13021932 ] 

David Lloyd commented on WFLY-4111:
-----------------------------------

I think that (at least for JARs) we have automatically added read permission for the deployment to read its own content directory.  Maybe that part is failing for servlets somehow.

> Unable to read web-application files using ServletContext.getResourceAsStream when security manager is used
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: WFLY-4111
>                 URL: https://issues.jboss.org/browse/WFLY-4111
>             Project: WildFly
>          Issue Type: Bug
>          Components: Security Manager
>            Reporter: Josef Cacek
>            Assignee: Stefan Guilhen
>
> Servlets should be able to read application files by using ServletContext.getResourceAsStream without specifying additional permissions.



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the jboss-jira mailing list