Letzte Blogger

Yasuyuki Takeo

2 Nachrichten
18. Oktober 2017

David H Nebinger

63 Nachrichten
14. Oktober 2017

Anderson Perrelli

1 Nachrichten
9. Oktober 2017

Kyle Joseph Stiemann

11 Nachrichten
6. Oktober 2017

Petteri Karttunen

2 Nachrichten
5. Oktober 2017

James Hinkey

8 Nachrichten
5. Oktober 2017

Sushil Patidar

10 Nachrichten
4. Oktober 2017

Bryan Cheung

37 Nachrichten
4. Oktober 2017

Olaf Kock

120 Nachrichten
3. Oktober 2017

Ivan Zaera

1 Nachrichten
2. Oktober 2017

Integrating Alfresco Repository to Liferay Documents and Media Portlet

General Blogs 22. Mai 2013 Von Navin Agarwal

We can integrate Alfresco Repository with Liferay Documents and Media Portlet by using CMIS feature. Liferay 6.1 provides with the very simple configuration management for cmis settings.

Let’s follow few steps for configuration of CMIS in Document and Media portlet.


NOTE: If you are not using any SSO for both servers, Make sure you create a same user admin/admin in Liferay. Doing this you will have common user in both environment.

1. Login with the admin user, go to Control Panel and check your site content setting, which site it is referring, make sure it refers to your desirer site. And Click Documents and Media Portlet.

2. Now In Documents and Media Portlet go to add button and click repository, New Repository page will open. Fill the bellow settings.

Name: Alfresco Repository

Description: Alfresco Repository

Repository Type: CMIS Repository (AtomPub)

Repository URL: http://localhost:8080/alfresco/service/cmis

And Save it 

After all done, you will be seeing the Alfresco Repository (Company Home) inside Documents and Media Portlet.


Now you can place the Documents and Media Portlet any page where you want the users should access.

Other related Blog : Integration with alfresco 4.x and Liferay 6.1

Integration with alfresco 4.x and Liferay 6.1

General Blogs 22. Mai 2013 Von Navin Agarwal

We will be seeing here the proper way of intregrating Alfresco 4.x with Liferay 6.1 version. So, here I have given details process, How you can achive the integration.

Let’s do some few steps for integrating Alfresco 4.x with Liferay 6.1.

As we can have assumption that you might have installed the Alfresco and Liferay Tomcat bundles into separate directories. Let’s say as <ALFRESCO_HOME> and<LIFERAY_HOME>.

NOTE: If you are not using any SSO for both servers, Make sure you create a same user admin/admin in Liferay. Doing this you will have common user in both environment.

1. You need to have different ports number for Alfresco and Liferay running on to resolve port conflicts, Say Alfresco is running on 8080 and Liferay on 5050. So, you can configure the Liferay port in Tomcat server by editing <LIFERAY_HOME>/<tomcat>/conf/server.xml

<Server port="5005" shutdown="SHUTDOWN">
<Connector port="5050" protocol="HTTP/1.1"
         redirectPort="5443" URIEncoding="UTF-8" />
<Connector port="5009" protocol="AJP/1.3" redirectPort="5443" URIEncoding="UTF-8" />

2.  Now, You need to change the Share Loader by editing   <LIFERAY_HOME>/<tomcat>/conf/catalina.properties and locate the "shared.loader" entry and replace it with this:


These will load the alfresco custom and extension configuration with respect to the XML and other properties files. And also if you have the custom jar files.

3. You have to enable the external authenticate services of alfresco, we can do that by editing <ALFRESCO_HOME>/tomcat/shared/classes/alfresco-global.properties and add to file.

Add the following line at the end of the file



Note: Leave the value of proxyUserName blank


4.  You can deploy the share.war file in Liferay deploy folder.

Copy <ALFRESCO_HOME>/tomcat/webapps/share.war to <LIFERAY_HOME>/deploy

5.  As you set the share loader in catalina.properties inside Liferay tomcat. You need to copy the Share Loader from Alfresco to Liferay. Let copy the entire folder

<ALFRESCO_HOME>/tomcat/shared  directory to  <LIFERAY_HOME>/<tomcat>/

Note: Alfresco requirement is to copy the shared/classes/alfresco/web-extension/ directory where all the custom xml configuration files are placed, to have a common bridge between Liferay and Alfresco.

So, it’s convenient task to copy entire folder.


6. Finally you need to configure SSO, what we called as Bridge.

Create a file <LIFERAY_HOME>/<tomcat>hared/classes/alfresco/web-extension/share-config-custom.xml, and copy the below code to enable remote authenticator. shared/classes/alfresco/web-extension/share-config-custom.xml


<!-- Overriding endpoints to reference a remote Alfresco server -->

  <config evaluator="string-compare" condition="Remote">




               <name>Alfresco - unauthenticated access</name>

               <description>Access to Alfresco Repository WebScripts that do not require authentication</description>







               <name>Alfresco Feed</name>

               <description>Alfresco Feed - supports basic HTTP authentication</description>








               <name>Alfresco Connector</name>

               <description>Connects to an Alfresco instance using cookie-based authentication</description>





               <name>Alfresco - user access</name>

               <description>Access to Alfresco Repository WebScripts that require user authentication</description>









NOTE: If you're running Alfresco's Tomcat server on a different host or port, please change the corresponding endpoint.

7.  Last but not the least, you can startup both the servers Liferay and Alfresco

8.  Now you can able to see the 3 portlets under Alfresco category in Dock bar menu | Add portlet in Liferay. Try to add the Share Document library portlet in Liferay Page.

Reference Site : http://wiki.alfresco.com/wiki/Portlets

Other related link : Integrating Alfresco Repository to Liferay Documents and Media Portlet

Zeige 2 Ergebnisse.