1st Start Here PDF
1st Start Here PDF
1st Start Here PDF
0 With SSO+LDAP
Table of Contents
Integrating Liferay 6.0 With OpenSSO/OpenAM+LDAP.........................................................................1
1 Introduction............................................................................................................................................2
2 Prerequisites...........................................................................................................................................2
3 Steps Required for..................................................................................................................................2
3.1 Installing Liferay Portal..................................................................................................................2
3.2 Installing OpenDJ LDAP Server....................................................................................................3
3.3 Installing OpenSSO/OpenAM ......................................................................................................3
3.3.1 Installation of the Tomcat server consisted of........................................................................3
3.3.2 Installation of OpenAM consisted of......................................................................................4
3.3.3 Additional OpenAM Configuration........................................................................................5
3.4 Enabling LDAP Authentication......................................................................................................6
3.5 Integrating Liferay Portal with OpenAM and Enabling LDAP ....................................................6
3.5.1 Enabling LDAP ......................................................................................................................6
4 Reference...............................................................................................................................................8
1 Introduction
This guide will walk you through the steps to implement Single Sign On feature with Liferay portal
v6.0. This document is intended for test driving Single Sign On (SSO) using JBOSS as the target
platform where liferay portal would be running..
2 Prerequisites
To make a quick SSO setup we will need:-
Liferay Portal and SSO both require a minimum 1.5 JVM, but we would recommend using Java 6 (as
Java 1.5 reached its End of Service Life in October, 2009). Make sure that your JAVA_HOME,
JBOSS_HOME environment variables are correctly set to point to your Java 6 installation.
\\172.16.50.152\Samvahak\SSO\Document\Installation Steps.pdf
Please follow the steps mentioned in Installing OpenDJ Directory Server on Microsoft Windows
in below link for OpenDJ installation:-
\\172.16.50.152\Samvahak\SSO\Document\OpenDJ-2.4.0_Installation_Steps.pdf
3.3 Installing Single Single On (SSO)
As SSO also requires a servlet container, we can use JBOSS(5.1.0).
5. You should see the SSO configuration options page. Under Custom Configuration,click
Create New Configuration. Enter the following:
Default User Password — password
Server Settings — default entries are ok. Cookie Domain should be set as Full Computer
Name prefixed by . (dot).
Configuration Data Store Settings — select First Instance, select SSO as, Configuration
Data Store, leave other entries.
User Data Store Settings — select Open DS, and fill the entries accordingly as
mentioned below.
In-order to get SSO to work correctly with Liferay, you would need to set Encode Cookie Value to Yes.
This will prevent infinite redirection between Liferay and SSO on login.
1. In the SSO Console, select the Configuration tab.
2. Select the Servers and Sites tab.
3. Click Default Server Settings.
4. Select the Security tab.
5. In the Cookie section, select the Yes check-box beside Encode Cookie Value, as shown below.
6. Click Save.
Before updating Liferay to use SSO, please add the default Liferay user,[email protected] , to SSO.
1. In the SSO Console, select the Access Control tab.
2. Click the / (Top Level Realm) realm.
3. Select the Subjects tab.
4. Click New…
5. Setup the default Liferay user:
• ID — test, in our customized Liferay)
• First Name — Test, in our customized Liferay)
• Last Name — Test, in our customized Liferay)
• Full Name — test, in our customized Liferay)
• Password — password
• Click OK to create the user.
6. Click test to add the email address. Enter [email protected] for the Email Address, and click
Save.
Similarly, add SSO admin user:amAdmin in LDAP.
https://wikis.forgerock.org/confluence/display/openam/integrate+OpenAM+with+Liferay