Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
13Activity
0 of .
Results for:
No results containing your search query
P. 1
Liferay Full Integration 1

Liferay Full Integration 1

Ratings: (0)|Views: 533|Likes:
Published by ntqhoang1

More info:

Published by: ntqhoang1 on Nov 17, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

04/22/2012

pdf

text

original

 
Liferay, Alfresco, LDAP and SSO – Full Integration
Instructions for Do-It-Yourselfers
Draft: July 12, 2007Author: Jonas Yuan
Abstract
: A solution of SSO plus LDAP against Liferay Portal and Alfresco Portlet isready. This document provides detailed instructions for Do-It-Yourselfers - no codes, noxml configure, just downloading, installing and playing. Here we suppose using LiferayPortal v 4.3.0 and alfresco v 2.0.2. Find related files at http://liferay.cignex.com/cignex.
1Liferay Configuration
1.1Downloa
Liferay Enterprise Portal 4.3.0 (Bundled with Tomcat 6.0) at /cignex/1
1.2Instal
Unzip it to any directory of your local machines, such as /temp/Tomcat60
1.3Configure Database
1.3.1Download
Download /cignex/1/ROOT.xml, copy it to /temp/Tomcat60/conf/Catalina/localhost
1.3.2Create Database
create databaselportal; grant all onlportal.*to 'lportal'@'localhost' identified by 'lportal' with grant option; grant all onlportal.*to 'lportal'@'localhost.localdomain' identified by 'lportal' with grant option;
Download MySQL JDBC Driver. /cignex/1/mysql.jar.Copy it to /temp/Tomcat60/lib/extDownload /cignex/1/portal-mysql-43.sql
 
1.3.3Input Data
mysql -u lportal -plportal lportal < portal-mysql-43.sql
2Alfresco Portlet Deployment
2.1Configure
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 databasealfresco202; grant all onalfresco202.*to 'alfresco202'@'localhost' identified by 'alfresco202' with grant option; grant all onalfresco202.*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. RemoveJDBC jar as in need.
2.2Downloa
Simply, just download alfresco.war (Alfresco 2.0.2 plus LDAP) at /cignex/2For your own alfresco war file, download portlet.xml, liferay-portlet.xml, and liferay-display.xml from /Cignex/2. Copy these files to alfresco/WEB-INFStart server if it does not start yet. Deploy war to ../liferay/deploy
2.3Troubleshoot 
When errors come,1.shutdown server;2.delete alf_data in /bin;3.reset database;4.Then restart server.In MySQL, reset database
drop databasealfresco202; create databasealfresco202;
3LDAP and SSO in Liferay
Shutdown server if it is running.
3.1LDAP Server 
Use ldpa://docs.cignex.com:10389
 
Download /cignex/3/portlet-ext.propertiesCopy it to Tomcat60/webapps/ROOT/WEB-INF/classes
3.2SSO CAS Serve
Use https://docs.cignex.com/cas-webDownload /cignex/3/cas-client.jar;Copy it to Tomcat60/webapps/ROOT/WEB-INF/lib
3.3Troubleshoot 
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”.
4SSO CAS Plus LDAP against Liferay Portal andAlfresco Portlet
4.1Alfresco Portle
Simply, download alfresco.war at /cignex/4. Deploy war to ../liferay/deploy.Or download cignex-sso.jar at /cignex/4, put it to /alfresco/WEB-INF/lib; download portlet.xml, put it to /alfresco/WEB-INF; download web.xml, put it to /alfresco/WEB-INF
4.2Liferay Porta
Download /cignex/4/cignex-liferay-sso.jar, put it to /temp/Tomcat60/lib/ext; Download/cignex/4/portal-impl.jar, put it to Tomcat60/webapps/ROOT/WEB-INF/lib.
4.3One step for al
Download http://liferay.cignex.com/cignex/Cignex-Liferay-tomcat-6.0-4.3.0.zip andinstall it.
4.3.1Create database for alfresco
create databasealfresco202; grant all onalfresco202.*to 'alfresco202'@'localhost' identified by 'alfresco202' with grant option; grant all onalfresco202.*to 'alfresco202'@'localhost.localdomain' identified by 'alfresco202' with grant option;
4.3.2Create Database for liferay
create databaselportal; grant all onlportal.*to 'lportal'@'localhost' identified by 'lportal' with grant option;

Activity (13)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
donnie18 liked this
Hadi Mansoraty liked this
srielr liked this
Shrinivas Zilli liked this
michiel.piessens liked this
SankarMurugesan liked this
Hadi Mansoraty liked this
Hadi Mansoraty liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->