A solution of SSO plus LDAP for Liferay Portal 5.3 and Alfresco Portlet 3.1 E with full RESTFul Integration. 1. First please download an example Liferay Portal 5.3, Alfresco Portlet 3.1 E, LDAP (ADS) and SSO CAS. liferay-5.3-tomcat-6.0.20.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.3 create database lportal; grant all on liferay53.* to 'liferay'@'localhost' identified by 'liferay' with grant option; grant all on liferay53.* to 'liferay'@'localhost.localdomain' identified by 'liferay' with grant option; for Alfresco Portlet create database alfresco31; grant all on alfresco31.* to 'alfresco'@'localhost' identified by 'alfresco' with grant option; grant all on alfresco31.* 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 Note that, you may need to reset "dir.root" as "dir.root=/opt/sso/liferay53/alf_data" in custom-repository. 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 note that: you need to set "How do users authenticate?" "by Screen Name" under "Authentication->general"; you need to set "Authentication Search Filter" "(cn=@screen_name@)" under "Authentication->LDAP"; 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. Get it? Note: How to set up CAS server? 1) download cas-web.war from http://liferay.cignex.com 2) Set up SSL for Tomcat 3) set up LDAP 4) drop cas-web.war to $TOMCAT_DIR/webapps/ Good luck. Jonas Yuan CIGNEX Technologies, Inc. Email: jonas@cignex.com July 11, 2009