5.7.3.2. Set up the CAS client

  1. Copy all libraries from GATEIN_SSO_HOME/cas/gatein.ear/lib into JBOSS_HOME/server/default/deploy/gatein.ear/lib (Or in Tomcat, into $GATEIN_HOME/lib)

    • In JBoss AS, edit gatein.ear/META-INF/gatein-jboss-beans.xml and uncomment on this section:

      
      <authentication>
        <login-module code="org.gatein.sso.agent.login.SSOLoginModule" flag="required">
          <module-option name="portalContainerName">portal</module-option>
          <module-option name="realmName">gatein-domain</module-option>
        </login-module>
        <login-module code="org.exoplatform.services.security.j2ee.JbossLoginModule" flag="required">
          <module-option name="portalContainerName">portal</module-option>
          <module-option name="realmName">gatein-domain</module-option>
        </login-module>
      </authentication>
      
      
    • In Tomcat, edit GATEIN_HOME/conf/jaas.conf, uncomment on this section and comment other parts:

      org.gatein.sso.agent.login.SSOLoginModule required;
      org.exoplatform.services.security.j2ee.TomcatLoginModule required
      portalContainerName=portal
      realmName=gatein-domain;
      
  2. The installation can be tested at this point:

    1. Start (or restart) GateIn 3.2, and (assuming the CAS server on Tomcat is running) direct your browser to http://localhost:8888/cas.

    2. Login with the username root and the password gtn (or any account created through the portal).

Copyright ©2012. All rights reserved. eXo Platform SAS