It is as easy as it sounds:
- Use same user and password in both servers, this can be done by having SSO or same LDAP on both applications. Also just use same user and password for both even with their internal DB.
- Add the two properties below to your Liferay configuration file and restart Liferay:
$ vi /opt/liferay-6.2-6/apache-tomcat/webapps/liferay/WEB-INF/classes/portal-ext.properties session.store.password=true company.security.auth.type=screenName
- 3rd: watch this 5 minutes screencast:
Thanks to my friends of Gobal Quark for the tips.