I added another UserRolesLoginModules section to my login-config.xml file, because I would like to create another realm for another web application.
I named it "newRealm" and set the userProperties and rolesProperties to "newrealm.properties" and "newrealm.properties" to be able to create a new realm.
In changed the security-domain in the jboss-web.xml and jboss.xml accordingly. However, when trying to authenticate against the server, the realm always defaults to "other" instead of the newly added one "newrealm".
Is it not possible to confiure several UserRolesLoginModules ????