Deploying 3.3WAR Liferay5

Showing results for 
Search instead for 
Did you mean: 

Deploying 3.3WAR Liferay5

Member II
0 0 1,115
  1. REDIRECT Portlets

The alfresco.war and share.war files now deploy directly into Liferay with hardly any special instructions.

  1. Copy the template to liferay-portal-5.2.3/tomcat-6.0.18/lib
  2. Add these lines

    This includes the new external subsystem in the authentication chain. This is preconfigured to recognise the X-Alfresco-Remote-User HTTP header that share now sends to the repository in requests where external authentication is enabled. It also assumes a secure connection to the repository and disables use of a ‘proxy user’ (one identified by a SSL certificate) but if you do want to use a public connection securely, you can set up a proxy user and SSL certificate as described here.

  3. To configure Share, create a file liferay-portal-5.2.3/tomcat-6.0.18/lib/alfresco/web-extension/share-config-custom.xml containing the following. Note: Modify endpoint-url parameters to match actual Repository deployment.

   <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>


After auto-deployment of alfresco.war and share.war, portlets will show up in the 'Alfresco' or 'Undefined' categories.