1 Reply Latest reply on Aug 18, 2010 6:44 PM by Marek Posolda

    Enabling sso in jboss-gatein

    jetim k Newbie

      Hi,  Could anyone help me in enabling sso and how to validate.

       

      I have done following steps -

       

      1. edited this xml and uncommented sso tag -/opt/apps/GateIn-3.1.0-GA/server/default/deploy/gatein.ear/META-INF/gatein-jboss-beans.xml

       

       

       

      /opt/apps/GateIn-3.1.0-GA/server/default/deploy/gatein.ear/META-INF/gatein-jboss-beans.xmlHeader 1
      <deployment xmlns="urn:jboss:bean-deployer:2.0">
        <application-policy xmlns="urn:jboss:security-beans:1.0" name="gatein-domain">
      <!--
      <authentication>
            <login-module code="org.exoplatform.web.security.PortalLoginModule" 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.jaas.SharedStateLoginModule" 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>
      -->
         <!-- Uncomment this part (and comment the other part for CAS integration -->
          <authentication>
            <login-module code="org.gatein.sso.agent.login.SSOLoginModule" flag="required">
            </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>
        </application-policy>
      </deployment>

       

       

       

      Please let me know if this correct but after restarting server all the logins are failing.