Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Agregar el "O3AutoLogin" en la property "auto.login.hooks".
    Debe queda así: auto.login.hooks=com.liferay.portal.security.auth.CASAutoLogin,com.liferay.portal.security.auth.FacebookAutoLogin,com.liferay.portal.security.auth.NtlmAutoLogin,com.liferay.portal.security.auth.OpenIdAutoLogin,com.liferay.portal.security.auth.OpenSSOAutoLogin,com.liferay.portal.security.auth.RememberMeAutoLogin,com.liferay.portal.security.auth.SiteMinderAutoLogin,biz.ideasoft.liferay.portal.login.O3AutoLogin

  • Agregar la configuración de la Base de datos en liferay:
    Agregar el "Resource" en el archivo <o3bi>liferay/tomcat/conf/context.xml
    Ejemplo Mysql:

     

    Code Block
    languagexml
    <Resource name="jdbc/TicketDB"
                auth="Container"
                type="javax.sql.DataSource"
                username="root"
                password="root"
                driverClassName="com.mysql.jdbc.Driver"
                url="jdbc:mysql://localhost:5858/sso_tickets"
                maxActive="8"
                maxIdle="4"/>

     

    Ejemplo PostgreSQL:

     

    Code Block
    languagexml
    <Resource name="jdbc/PostgresSQLDBTicketDB"
                auth="Container"
                type="javax.sql.DataSource"
                username="postgres"
                password="postgres"
                driverClassName="org.postgresql.Driver"
                url="jdbc:postgresql://localhost:5432/sso_tickets"
                maxActive="8"
                maxIdle="4"/>

...