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?
For anyone else looking, as per:
How to use environment variables in WildFly configuration (standalone.xml or host.xml)
This works in standalone-full.xml:
<module-option name="properties" value="${env.JBOSS_HOME}/cfg/am.properties"/>