0 Replies Latest reply on Oct 4, 2019 2:09 PM by David Rogers

    WildFly 17 secmgr Permissions

    David Rogers Newbie



      I'm trying to setup WildFly 17 on Windows 10 to use the security manager without permission restrictions.  The plan is to allow all permissions initially, and then lock the system down later.

      I have successfully enabled the security manager using -secmgr.  I have also set the permissions in the standalone.xml as follows:


      <subsystem xmlns="urn:jboss:domain:security-manager:1.0">



                     <permission class="java.security.AllPermission" />





      However, deployments are still failing with permission messages such as this:

      java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.util.PropertyPermission" "user.dir" "read")" in code source "(vfs:/C:/path/to/my.war/WEB-INF/classes <no signer certificates>)" of "ModuleClassLoader for Module "deployment.my.war" from Service Module Loader")


      Further, I have tried setting the minimum permissions as follows, with no change to the error messages:


           <permission class="java.util.PropertyPermission" name="*" actions="read,write" />



      Why am I still seeing permission issues if everything is given java.security.AllPermission?