5.7.4.2. Set up the JOSSO client

  1. Copy the library files from GATEIN_SSO_HOME/josso/gatein.ear/lib into gatein.ear/lib (or into GATEIN_HOME/lib if GateIn 3.2 is running in Tomcat)

  2. Copy the file GATEIN_SSO_HOME/josso/gatein.ear/portal.war/WEB-INF/classes/josso-agent-config.xml into gatein.ear/02portal.war/WEB-INF/classes (or into GATEIN_HOME/webapps/portal.war/WEB-INF/classes, or GATEIN_HOME/conf if GateIn 3.2 is running in Tomcat)

    • 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 requiredtm	
      portalContainerName=portal
      realmName=gatein-domain;
      
  3. The installation can be tested at this point.

    1. Start (or restart) GateIn 3.2, and (assuming the JOSSO server on Tomcat is running) direct your browser to http://localhost:8888/josso/signon/login.do.

    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