Details
Description
Security realms don't distinguish between different login domains, so if you deploy the same login module twice, the two instance are indistinguishable as far as roles are concerned. You might want to do this if, for example, you had an IT login domain and a Finance login domain (both LDAP or Active Directory or something but on different servers) and you want map users from both login domains to roles in the same application.