The upgrade of the solution - Full Integration of Liferay 6, Alfresco 3.1 E, LDAP, SSO, and OpenX 2.6 – is ready.
The new features include Liferay 5.3 (at revision 35656), Alfresco 3.1 E and OpenX.
- It integrates FCKEditor 2.6.4 – in detail, you may refer to the book: Liferay portal 5.2 Systems Development.
- It makes content-rich flashes (e.g., SWF, Video, Game, Slideshow, Video Queue, Video List, Play-list) available for Journal Articles (web content);
- The alfresco portlets include Alfresco Client, My Spaces, Document List, My Tasks, My Web Files, and My Web Forms.
- The ads portlets include ad viewer and manage ads.
Where should I find real demo?
General information
http://liferay.cignex.com/
Alfresco 3.1 E, LDAP ADS and SSO CAS
http://liferay.cignex.com:8090/alfresco
Liferay Portal (5.3 with FCKEditor 2.6.4), Alfresco Portlet (3.1 E), LDAP ADS and SSO CAS
http://liferay.cignex.com:8080/c/portal/login
How can I use these features in my own servers?
Alfresco, LDAP and SSO CAS full integration.
1. First please download an example Alfresco 3.1, LDAP (ADS) and SSO CAS.
Download (save link as ...)
alfresco.war
2. Then create database (this is configurable) MySQL
create database alfresco31;
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;
Deploy war in your AS: tomcat/webapp
Note that, you may need to set "dir.root" as "dir.root=/opt/sso/alfresco31e/alf_data" in custom-repository.
3. Start your AS
Go to http://localhost:8080/alfresco
4. In CAS login page, login
possible users in LDAP server (docs.cignex.com) (configurable)
jonas/jonas
jane/jane
...
After login in CAS, you should be in Alfresco MyAlfresco page with your login name. No need re-login in Alfresco.
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 ...)
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.
A solution for OpenX (2.6.3) and Liferay (5.3.0 or above) full RESTful integration
Login as
jonas/jonas
1) Examples:
View: http://docs.cignex.com/ad_services/services?action=download&uid=5
Search: http://docs.cignex.com/ad_services/services?action=search
Report: http://docs.cignex.com/ad_services/services?action=report
2) Usage of ad-portlet plugin
You can also download the WAR (ad-portlet plugin with source code) at
http://liferay.cignex.com/ad_server/ad-portlet-5.3.0.1.war
In database (e.g., MySQL), you need to create a database 'bookpub'.
create database bookpub;
grant all on bookpub.* to 'lportal'@'localhost' identified by 'lportal' with grant option;
grant all on bookpub.* to 'lportal'@'localhost.localdomain' identified by 'lportal' with grant option;
3) Customization
You can use source code to customize the user experience. At the same time, you can configure database name and user as well.
Note that, Manage Ads (using jQuery) has a bug in IE. The JavaScript for adding an Ad does not work well in IE. But it is working fine in FireFox.
Good luck!



