1 Reply Latest reply on Jun 12, 2019 2:23 PM by jasonglass

    How to use path-variables in standalone.xml

    chris81t

      Hello,

       

      I have defined a security-domain.

       

                      <security-domain name="form-auth" cache-type="default">
                          <authentication>
                              <login-module code="UsersRoles" flag="required">
                                  <module-option name="usersProperties" value="${JBOSS_HOME}/standalone/configuration/user.properties"/>
                                  <module-option name="rolesProperties" value="/do/not/want/to/use/full/path/to/jbossas7/standalone/configuration/roles.properties"/>
                              </login-module>
                          </authentication>
                      </security-domain>
      
      

       

      The properties files are placed into the /configuration folder of the jboss as7.1RC. Now I want to use the set path variable (the variable exists and show's to the correct path) to define the location of the properties files. But it does not work.

       

      What I have to do to use a path variable inside of the standalone.xml file?