4 Replies Latest reply on Mar 1, 2012 2:30 PM by method_ben_qc

    JBoss AS 7.1 Security Domain configuration in EAR

    fcorneli

      I'm trying to port a JBoss AS 6 application architecture to JBoss AS 7.1.

      The only thing left is the following configuration section in standalone.xml:

      {code:xml}

      <security-domain name="eid-example" cache-type="default">

          <authentication>

              <login-module code="be.fedict.eid.example.model.ExampleLoginModule" flag="required"/>

          </authentication>

      </security-domain>

      {code}

      which I would also like to bundle within the EAR.

       

      So how to configure a security-domain from within an EAR on JBoss AS 7.1?