<deployment xmlns="urn:jboss:bean-deployer:2.0">

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