AnsweredAssumed Answered

Full Integration of Liferay 5.1.2, Alfresco 3.0 E, SSO, LDAP

Question asked by jonas on Nov 8, 2008
Latest reply on Apr 12, 2011 by marianandan
A solution of SSO plus LDAP for Liferay Portal 5.1.2 and Alfresco Portlet 3.0.0 with full RESTFul Integration at http://liferay.cignex.com

You can play with it at http://liferay.cignex.com

1. First please download an example Liferay Portal 5.1.2, Alfresco Portlet 3.0.0, LDAP (ADS) and SSO CAS.
liferay-portal-tomcat-6.0-5.1.2.zip
Download from (save link as …)
http://liferay.cignex.com
unzip it in your local machine.

2. Then create database (this is configurable) MySQL

for Liferay Portal 5.1.2
create database lportal;
grant all on lportal.* to 'liferay'@'localhost' identified by 'liferay' with grant option;
grant all on lportal.* to 'liferay'@'localhost.localdomain' identified by 'liferay' with grant option;

for Alfresco Portlet
create database alfresco;
grant all on alfresco.* to 'alfresco'@'localhost' identified by 'alfresco' with grant option;
grant all on alfresco.* to 'alfresco'@'localhost.localdomain' identified by 'alfresco' with grant option;

3. Start your AS from unzipped file
tomcat/bin/startup.bat or sh startup.sh

Go to http://localhost:8080/c/portal/login

press sign in

You may need to configure LDAP:
ldap://docs.cignex.com:10389
ou=users,ou=system
uid=admin,ou=system

and configure SSO
https://docs.cignex.com/cas-web/login
https://docs.cignex.com/cas-web/logout
https://docs.cignex.com/cas-web/proxyValidate

4. In CAS login page (https://docs.cignex.com/cas-web), login

possible users in LDAP server (docs.cignex.com) (configurable)
jonas/jonas
jane/jane

After login in CAS, you should be in Liferay Portal with your login name. No need relogin in Liferay Portal.

Add Alfresco Ext Client. You should be in Alfresco Portlet with your login name. No need relogin in Alfresco Portlet.

Liferay Book: http://liferay.cignex.com

Outcomes