A solution of SSO plus LDAP for Liferay Portal 4.3 and Alfresco Portlet 2.1. 1. First please download an example Liferay Portal 4.3, Alfresco Portlet 2.1, LDAP (ADS) and SSO CAS. CIGNEX_Liferay_43-Tomcat60-Alfresco_21-SSO-LDAP.zip Download from (save link as ...) http://liferay.cignex.com unzip it in your local machine. (It should be tomcat60/*) download portal-mysql-43.sql at http://liferay.cignex.com/portal-mysql-43.sql Note: It is tomcat 6.0.13, jdk 1.6.* is required. 2. Then create database (this is configurable) MySQL for Liferay Portal 4.3 create database liferay43plet; grant all on liferay43plet.* to 'liferay43plet'@'localhost' identified by 'liferay43plet' with grant option; grant all on liferay43plet.* to 'liferay43plet'@'localhost.localdomain' identified by 'liferay43plet' with grant option; input data mysql -u liferay43plet -pliferay43plet liferay43plet < portal-mysql-43.sql for Alfresco Portlet create database alfresco21plet; grant all on alfresco21plet.* to 'alfresco21plet'@'localhost' identified by 'alfresco21plet' with grant option; grant all on alfresco21plet.* to 'alfresco21plet'@'localhost.localdomain' identified by 'alfresco21plet' with grant option; 3. Start your AS from unzipped file tomcat60/bin/startup.bat or sh startup.sh Go to http://localhost:8080/c/portal/login 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 ... For the first time you login, you are required to sign on for agreement in Liferay Portal. Furthermore, just add content "Alfresco Ext 2.1 Client"; using email/password jonas@liferay.com / jonas jane@liferay.com / jane .... After login in CAS, you should be in Liferay Portal with your login name. No need re-login in Liferay Portal. Add Alfresco Ext 2.1 Client. You should be in Alfresco Portlet with your login name. No need re-login in Alfresco Portlet. Get it? Good luck. Jonas Yuan CIGNEX Technologies, Inc. Email: jonas@cignex.com July 17, 2007