Book Image

Liferay 6.x Portal Enterprise Intranets Cookbook

Book Image

Liferay 6.x Portal Enterprise Intranets Cookbook

Overview of this book

Table of Contents (19 chapters)
Liferay 6.x Portal Enterprise Intranets Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Liferay and the LDAP integration


In many companies, LDAP (OpenLDAP, Active Directory, or other LDAP implementations) is the system that keeps users' details, especially login, password, e-mail address, name, and surname. It is a good idea to integrate Liferay with LDAP. Fortunately, Liferay developers thought about it. Liferay provides out-of-the-box functionality that can read and import users from LDAP.

Getting ready

To start the configuration, you need to correctly install an LDAP server such as OpenLDAP or Active Directory, or ApacheDS. As an example of integration, it will be used online as a LDAP test server:

  • Server: ldap.forumsys.com

  • Port: 389

  • Bind DN: cn=read-only-admin,dc=example,dc=com

  • Bind Password: password

  • All user passwords are: password.

How to do it…

There are two ways of configuration: by GUI or by portal properties. In this case, we will show configuration via Control Panel.

  1. Log in to your Liferay instance as a super administrator (by default, it is joebloggs/test).

  2. Go to Admin...