cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco 3 Liferay 5 integration

matteo_grolla
Champ in-the-making
Champ in-the-making
Has anyone been able to to integrate Alfresco 3 and liferay 5 without SSO?
That is runnning webscripts through portlet authenticator. Web Scrips such as MySpaces have two webscripts, the external one loaded by the portal uses portlet authentication, the internal is called through AJAX: what kind of authentication does it use?
Does it require  the user to be authenticated on the web client to work?
If I don't want this do I need to implement CAS?
Thanks
Matteo
2 REPLIES 2

jonas
Champ in-the-making
Champ in-the-making
Here is the full solution: Liferay 5.1.2, Alfresco 3.0E, SSO CAS and LDAP.

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

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

matteo_grolla
Champ in-the-making
Champ in-the-making
Thank you very, very much
I'll try these steps as soon as possible