Abstract: A solution of SSO plus LDAP against Liferay Portal and Alfresco Portlet is
ready. This document provides detailed instructions for Do-It-Yourselfers - no codes, no
xml configure, just downloading, installing and playing. Here we suppose using Liferay
Portal v 4.3.0 and alfresco v 2.0.2. Find related files at http://liferay.cignex.com/cignex.
1 Liferay Configuration
1.1 Download
Liferay Enterprise Portal 4.3.0 (Bundled with Tomcat 6.0) at /cignex/1
1.2 Install
Unzip it to any directory of your local machines, such as /temp/Tomcat60
2.1 Configure
Set JAVA_OPTS=-Xms1024m -Xmx1024m -XX:MaxPermSize=128m -Dfile.encoding=UTF8 -Duser.timezone=GMT
-Djava.security.auth.login.config=%CATALINA_HOME%/conf/jaas.config
Create database
create database alfresco202;
grant all on alfresco202.* to 'alfresco202'@'localhost' identified by 'alfresco202' with
grant option;
grant all on alfresco202.* to 'alfresco202'@'localhost.localdomain' identified by
'alfresco202' with grant option;
Use alfresco war file if you have. Remove portlet jar – named portlet-api-lib.jar. Remove
JDBC jar as in need.
2.2 Download
Simply, just download alfresco.war (Alfresco 2.0.2 plus LDAP) at /cignex/2
For your own alfresco war file, download portlet.xml, liferay-portlet.xml, and liferay-
display.xml from /Cignex/2. Copy these files to alfresco/WEB-INF
2.3 Troubleshoot
When errors come,
1. shutdown server;
2. delete alf_data in /bin;
3. reset database;
4. Then restart server.
Download /cignex/3/cas-client.jar;
Copy it to Tomcat60/webapps/ROOT/WEB-INF/lib
3.3 Troubleshoot
If it is first time to login in Liferay by SSO, it is in need to sign in for agreement.
For example, using jonas/jonas in CAS SSO, sign in as jonas@liferay.com/jonas for
agreement. Then sign out and re-login by SSO. Add content “Alfresco EXT client”.