Home > Uncategorized > Liferay, Alfresco, LDAP, CAS and me

Liferay, Alfresco, LDAP, CAS and me

For those of us who have enough bandwidth for feeding mammoth, here is a short entry on how to install a beautiful bunch of java powerful apps in less that 5 minutes.

Here, let’s start by downloading, the latest and greatest liferay-tempo-tomcat bundle.

Then we need to create two mysql databases, both with user root and no password (for the sake of security) on a standard mysql server: bpms, and liferay.

Once this is done, we can import the two following files, bpms.sql and liferay.sql in their respective database.

Start liferay in less than 2 minutes, and then head out to your local liferay page:

Once you see the logo, Enterprise Open Source for Life, for which you need a nice sponsorship, you can log in by clicking on the top right “Sign In” button under “Welcome!”.

CAS is accessible through https/ssl, so that would force you to accept the certificate we are using for localhost.


This should redirect you to the local CAS server page.

Then you can use any credential that has been stored in LDAP, (see the previous post), we will use admin/changeit for the sake of simplicity. On a first login, you would have to approve the liferay term of use.

Once you have logged in, you can add the tempo and alfresco portlets, using the add applications in the top corner of  a personal liferay page.

Then select the Tempo portlet from the list:

Then the alfresco client:

This should give something like, (you need a 24″ monitor to see it, but try it and click on the link !):

Note that full Alfresco integration with intalio is only available in the Intalio EE, but this preview can help you quick-start your development.

Drop us a line on the tempo dev mailing list if you have any questions !

Categories: Uncategorized
  1. ark
    September 1, 2008 at 3:56 pm

    Have to say: really cool!

  2. September 2, 2008 at 11:21 am

    interesting, anyway, we are investigating about Liferay 5.3 + CAS + tempo FW portlet integration, “full Alfresco integration with intalio is only available in the Intalio EE”… but… is the full LifeRay + CAS integration with intalio only available with Intalio EE?

    then, also we are always prompted to download preconfigured bundles (LifeRay plus A, Alfresco plus B, Intalio plus C, A+C, B+C, A+B+C…) when in the real life, the customers already have LifeRay installed, their users created in ActiveDirectory or OpenLDAP, using or not CAS and what you need are the instructions to install the Intalio portlet in that existing and customized LifeRay

  3. September 2, 2008 at 3:19 pm


    The full supported version of Liferay is only in the EE, but you can use this unsupported preview as you wish.

    The pre-configured bundle has indeed everything ready so you can use it out of the box, and I couldn’t agree more with the fact that customers already have liferay, ldap and so on installed on their servers. This is completely part of the supported scenario, and this is actually what tempo is made for, meaning, being able to integrate with many components.

    Feedback, of course more than welcome.

  4. Myles Penlington
    September 2, 2008 at 10:43 pm

    Does not appear to work out of the box on Windows. The SetEnv.bat is incorrect – needs %CATALINA_HOME% instead of $CATALINA_HOME in someplaces. Also requires that you have ApacheDS up and running, and have the domain dc-=intalio,dc=com configured as a partition, plus roles and persons setup – howabout a apacheds.ldif file with this info?

    Also in our case the alfresco stuff fails to startup with many errors. Not certain of the real cause.

    The above scenario/bundle (Liferay, CAS, Alfresco, Intalio) is exactly what we are after.

    What level of intergration is going to be available for the community edition? What will be missing/include compared to the EE edition? This is one of our main questions at the moment.

    The intalio/liferay/cas stuff is working. However the intalio portlet only show tasks? I guess there is more to come? Or is it dependent on the role access from LDAP?


  5. September 2, 2008 at 11:19 pm

    Hi Myles,

    The windows script have been fixed in svn, sorry for that.

    ApacheDS is included in the preview, and it should be started automatically. This is the sample ldif file we are using for it.

    You can discuss the Alfresco stuff on the mailing list anytime. Did you have it running before on your machine ?

    Liferay, Alfresco integration will be supported in the EE edition.

    Intalio portlet is the equivalent of the UI-FW. People can act on tasks and fill the forms directly form the tempo portlet.
    The Admin console to administrate the background processes for example, would be the next potential app to be ported as a portlet, along with Business Monitoring.

    Thanks for all your questions.

  6. Myles Penlington
    September 3, 2008 at 12:56 am

    I created a embbeded page in Liferay to reference the normal Intalio pages (/ui-fw) and was presented with the normal intalio login – was not expecting that – thought CAS would have enabled me to have a automatic login etc.

  7. September 3, 2008 at 12:59 am


    Good point, the standard ui-fw is not CASified by default, but the simple instructions to do are described in the FAQ:
    It’s actually just a matter of enabling the CAS filter in the web.xml

  8. Joserra
    September 3, 2008 at 10:38 am


    I followed the instructions it says on that page (http://www.intalio.org/confluence/display/TEMPO/FAQ) but what I’ve got is CAS login pages previous to the intalio login page so now I have to login twice: first in CAS and after that, in Intalio Login Page.

    I appreciate your help, if you know what´s wrong..

  9. September 3, 2008 at 2:46 pm


    Thank you for your comments.

    Can you post on the tempo-dev list so I can track your problem more easily ?
    I just found out that you cannot be CAS logged between the webapp version and between the portlet version of ui-fw because of a class mismatch in the session.
    I will solve this problem asap.


  10. September 12, 2008 at 7:32 am

    Hi there,

    I was interested in the discussions. We have casified intalio and liferay where there is only 1 single sign on.

    If we understand what you are trying to achieve in the total context, I think we may at least from opensoft’s pespective at least pass out iwn casified jar file that may assist.

  11. September 16, 2008 at 9:16 am

    Hi Neville,

    Thank you for the feedback!
    You can contribute code and discuss more freely on the tempo-dev mailing list:

    You’re more than welcome to contribute ideas and code!

  12. Dietrich Van der Weken
    November 14, 2008 at 3:18 pm

    Do you have any detailed instructions how to get it work out of the box on windows?


  13. January 24, 2009 at 3:14 pm

    Hi !

    I was reading your page and i found it very interesting, it’s about the uifwportlet, i can’t found it any where i tried liferay 5.1 and 5.2 they doesn’t have that portlet. where can i get that portlet so i can integrate intalio ui-fw in me liferay THANKS


  14. lifehenry
    January 26, 2009 at 9:55 pm

    Both bpms.sql and liferay.sql scripts will not work on linux as the table name naming conventions are inconsistent. In my log i have alot of these errors

    Table ‘liferay.QUARTZ_FIRED_TRIGGERS’ doesn’t exist …

    due to the fact that the liferay.sql script has table name in lower case.

  15. jamal
    February 4, 2009 at 8:46 am

    On mysql over linux just put the line “lower_case_table_names=1” after [mysqld]
    on your /etc/mysql/my.cnf

    it will rock your database 🙂


  16. February 5, 2009 at 10:37 pm

    This is a great preinstalled bundled. You have done some great work.

  1. September 9, 2008 at 5:40 am

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: