[jboss-jira] [JBoss JIRA] (WFLY-4864) JSP in web application doesn't get VFS-based security permissions

Bartosz Spyrko-Śmietanko (JIRA) issues at jboss.org
Thu Jul 2 12:22:02 EDT 2015


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

Bartosz Spyrko-Śmietanko updated WFLY-4864:
-------------------------------------------
    Steps to Reproduce: 
* save security.policy to /tmp
* add following lines at the end of standalone.conf:
SECMGR="true"
JAVA_OPTS="$JAVA_OPTS -Djava.security.policy==/tmp/security.policy -Djboss.home.dir=$JBOSS_HOME"
JAVA_OPTS="$JAVA_OPTS -Djboss.modules.policy-permissions=true"
* save read-props.war to [EAP_INST]/standalone/deployments
* run standalone.sh and go to http://localhost:8080/read-props/

  was:
* save security.policy to /tmp
* add following lines at the end of standalone.conf:
JAVA_OPTS="$JAVA_OPTS -Djava.security.manager -Djava.security.policy==/tmp/security.policy -Djboss.home.dir=$JBOSS_HOME"
JAVA_OPTS="$JAVA_OPTS -Djboss.modules.policy-permissions=true"
* save read-props.war to [EAP_INST]/standalone/deployments
* run standalone.sh and go to http://localhost:8080/read-props/



> JSP in web application doesn't get VFS-based security permissions
> -----------------------------------------------------------------
>
>                 Key: WFLY-4864
>                 URL: https://issues.jboss.org/browse/WFLY-4864
>             Project: WildFly
>          Issue Type: Bug
>          Components: Web (Undertow)
>    Affects Versions: 10.0.0.Alpha4
>            Reporter: Bartosz Spyrko-Śmietanko
>            Assignee: Stuart Douglas
>         Attachments: read-props.war, security.policy
>
>
> Permissions granted to web applications (using vfs:/... codebase) are not available in JSPs.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)



More information about the jboss-jira mailing list