The login-config.xml is not polled for changes. You can edit the properties files used by the UsersRolesLoginModule, so why do you have to change the properties file names?
There is a DynamicLoginConfig that allows one to dynamically add/remove login module domains:
Thank you for the quick response.
I am very new to JBoss and parts of J2EE. I was playing with login-config.xml and the learning how security domains/configurations work. I guess I assumed that changes to login-config.xml are picked up automatically since the chapter 4.3.1. "Configuring a Security Domain" in "Getting Started" documentation didn't mention that the server needs to be restarted after changes. Looks like I'll be OK.