How do I specify which security domain to use for my web application in JBoss AS7?
问题 I'm using JBoss AS7 + JSF 2.1 I'm trying to use a Database login module to authenticate users on a specific resource in my web application. In standalone.xml there are 3 security domains: "other", "jboss-web-policy" and "jboss-ejb-policy". Should I put my database login module in the "other" security domain? Or I should define a new custom security domain and put my database login module in it? Either way, how will I tell JBoss which security-domain/login module it should use for my