- 
        1. Re: Use different login modules for differente WARsmchoma Aug 31, 2016 12:41 PM (in response to rodrigo.burdet)You can configure 2 security domains: simplesecuritydomain and complicatedsecuritydomain. And reference each in jboss-web.xml of each war. 
- 
        2. Re: Use different login modules for differente WARsrodrigo.burdet Sep 1, 2016 2:54 AM (in response to mchoma)Hey Martin, thanks for your answer. I tried what you said. The problem im facing is my complicatedloginmodule referenced from my war is not being accessed. For simplicity im just trying with other in business-central.war and complicatedloginmodule in kie-server.war <jboss-web> <security-domain>kie</security-domain> </jboss-web> In my standalone: <security-domain name="kie" cache-type="default"> <authentication> <login-module code="com.semperti.security.loginmodule.ComplicatedLoginModule" flag="sufficient" module="complicatedLoginModule"> <module-option name="password-stacking" value="useFirstPass"/> ... another options for the module ... </login-module> </authentication> and the defaults one "other" <security-domain name="other" cache-type="default"> <authentication> <login-module code="Remoting" flag="optional"> <module-option name="password-stacking" value="useFirstPass"/> </login-module> <login-module code="RealmDirect" flag="required"> <module-option name="password-stacking" value="useFirstPass"/> </login-module> </authentication> </security-domain> 
 
    