0 Replies Latest reply on Sep 19, 2016 10:08 AM by Adrian Boangiu

    How to use environment variables in permissions.xml

    Adrian Boangiu Newbie



      I am trying to migrate an application from JBoss 7.1.1 to WildFly 10.1 and I am blocked in migrating security policy. How can I migrate permissions such:


      permission java.io.FilePermission "${coswin.home.dir}${/}tmp${/}work${/}Catalina${/}localhost${/}coswin-web-tomcat${/}SESSIONS.ser","delete";


      from policy file format to permissions.xml ? How can I simulate environment variables in permissions.xml?


      Thank you