I am setting a system property in standalone.xml:
<property name="security.login.module" | value="ch.abraxas.base.jboss.LDAPLoginModule"/> |
I try to use it like this:
<login-module code="${security.login.module}" flag="required">
But when I log into the application I get this error:
ERROR [org.jboss.security.authentication.JBossCachedAuthenticationManager] (http--127.0.0.1-9090-1) Login failure: javax.security.auth.login.LoginException: Die Anmeldemodulklasse kann nicht gefunden werden: ${security.login.module} from [Module "deployment.base-test-ear.ear.base-csm-impl-web-1.0.1-SNAPSHOT.war:main" from Service Module Loader]
It seems that the system property is not resolved. But in the JBoss web administration console I can see this system property and its value.
What is wrong?