<?xml version="1.0" encoding="UTF-8"?>

<deployment xmlns="urn:jboss:bean-deployer:2.0">
  <application-policy xmlns="urn:jboss:security-beans:1.0"
    name="gatein-domain-ecmdemo">
    <authentication>
      <login-module code="org.exoplatform.web.security.PortalLoginModule" flag="required">
        <module-option name="portalContainerName">ecmdemo</module-option>
        <module-option name="realmName">gatein-domain-ecmdemo</module-option>
      </login-module>
      <login-module code="org.exoplatform.services.security.jaas.SharedStateLoginModule" flag="required">
        <module-option name="portalContainerName">ecmdemo</module-option>
        <module-option name="realmName">gatein-domain-ecmdemo</module-option>
      </login-module>
      <login-module code="org.exoplatform.services.security.j2ee.JbossLoginModule" flag="required">
        <module-option name="portalContainerName">ecmdemo</module-option>
        <module-option name="realmName">gatein-domain-ecmdemo</module-option>
      </login-module>
    </authentication>
  </application-policy>
</deployment>
