[jboss-jira] [JBoss JIRA] (WFCORE-2147) Impossible to use environment variables or system properties in permissions.xml

jaikiran pai (JIRA) issues at jboss.org
Sun Aug 20 03:36:00 EDT 2017


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

jaikiran pai commented on WFCORE-2147:
--------------------------------------

Although this appears to be easy to do, it isn't. That has to do with the way and where this property replacement related logic resides and how it's tightly integrated currently with EE subsystem which is outside of wildfly core and security manager subsystem. [~brian.stansberry] has explained this very thing in one other similar JIRA here WFCORE-1295

> Impossible to use environment variables or system properties in permissions.xml
> -------------------------------------------------------------------------------
>
>                 Key: WFCORE-2147
>                 URL: https://issues.jboss.org/browse/WFCORE-2147
>             Project: WildFly Core
>          Issue Type: Feature Request
>          Components: Security
>            Reporter: Adrian Boangiu
>
> Without this feature it is impossible to migrate "variable" Java file permissions such as:
> {noformat}
> permission java.io.FilePermission "${java.io.tmpdir}","read";
> permission java.io.FilePermission "${jboss.home.dir}${/}bin${/}javamelody${/}-","read,write,delete";
> permission java.io.FilePermission "${app.home.dir}${/}log${/}-","read,write,delete";
> {noformat}
> that were defined in Java policy file in previous verions of JBoss.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list