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

Boris Unckel (Jira) issues at jboss.org
Mon Nov 25 07:14:00 EST 2019


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

Boris Unckel commented on WFCORE-2147:
--------------------------------------

[~yersan] It would be really great to get your patch into production. This issue stops us from using the security manager. The workarounds to use absolute path or skripted .WAR/.EAR patching with parameter replacement are nasty. Is it possible to patch an older WildFly (on our side manually?)
Kind regards
Boris

> 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
>            Assignee: Yeray Borges
>            Priority: Major
>
> 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