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

Yeray Borges (Jira) issues at jboss.org
Tue Jan 21 03:31:35 EST 2020


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

Yeray Borges commented on WFCORE-2147:
--------------------------------------

Glad to hear you were able to do the backport. This feature was completely merged and will be included in WF19. 

You are using WildFly 12, it is probably advisable to update to a more recent release and then keep up to date on the releases.

> Impossible to use environment variables or system properties in permissions.xml and jboss-permissions.xml
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: WFCORE-2147
>                 URL: https://issues.redhat.com/browse/WFCORE-2147
>             Project: WildFly Core
>          Issue Type: Feature Request
>          Components: Security
>            Reporter: Adrian Boangiu
>            Assignee: Yeray Borges
>            Priority: Major
>             Fix For: 11.0.0.Beta7
>
>
> 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.13.8#713008)


More information about the jboss-jira mailing list