SlideShare a Scribd company logo
LIFERAY:
OPENLDAP INTEGRATION
& CONFIGURATION
- Vinaykumar Hebballi
Topics to cover
 Understanding LDAP & Servers.
 Information Structure.
 Protocol overview.
 Installing OpenLdap.
 LDAP Server Configuration.
 Integration with Liferay.
 Activate LDAP
Liferay:LDAP Integration & Configuration12/26/16 2
Understanding LDAP
 Lightweight Directory Access Protocol (LDAP).
 open network protocol standard designed to provide access to
distributed directories.
 using TCP/IP protocols.
 The phrase “write once read many times“ describes the best
use of LDAP.
 standard and allowing directories to be managed.
Liferay:LDAP Integration & Configuration12/26/16 3
LDAP Servers
 389 Directory Server (formerly Fedora/Red Hat Directory Server)
 Active Directory from Microsoft
 Apache Directory Server
 Apple Open Directory
 FreeIPA
 IBM Tivoli Directory Server
 Mandriva Directory Server
 Novell eDirectory
 OpenDJ - A fork of the OpenDS project
 OpenDS
 OpenLDAP
 Optimal IdM
 Oracle Internet Directory
 Radiant Logic VDS
 Sun Java System Directory Server
Liferay:LDAP Integration & Configuration12/26/16 4
Information Structure
 Presents information in the form of a hierarchical tree
structure called a DIT (Directory Information Tree).
Liferay:LDAP Integration & Configuration12/26/16 5
Information Structure.
 Each information, called Entry (or even DSE, Directory
Service Entry).
 Each entry in the LDAP directory relates to an abstract or real
object (for example a person, a piece of hardware, parameters,
etc.).
 Each entry is made up of a collection of key/value pairs called
attributes.
Liferay:LDAP Integration & Configuration12/26/16 6
Information Structure.
 Types of attributes :
 Normal attributes: these are the usual attributes (cn, name,o, ...) distinguishing the
object.
 Operational attributes: these are the attributes which only the server can access in
order to manipulate the directory data (modification dates, etc,).
 Every entry in the directory has a distinguished name (DN).
 DN is made up of attribute=value pairs, separated by commas,
for example:
 dn:o=hp,ou=people,uid=hi5@gmail.com
Liferay:LDAP Integration & Configuration12/26/16 7
Protocol Overview
 Client starts an LDAP session by connecting to an LDAP
server.
 The default TCP port is 389.
 Bind to the server (think of this as authentication).
 client then sends an operation request to the server.
 the server sends responses in return.
Liferay:LDAP Integration & Configuration12/26/16 8
Integration of Open LDAP & Liferay
 Software Requirement:
 OpenLDAP (Windows edition)
 LDAP Browsers(Jxplorer)
 Installing openLDAP:
1. Choose your host as “localhost” or an “IP address”
2. Choose the port and SSL-port as you may want to use or can let it by default to 389 and 636
respectively.
3. Select a database for directory you want to use: BDB or LDAP (we have used BDB i.e
berkely’s DB)
4. NEXT -> choose a password for your root directory, by default it would be “secret”.
5. NEXT-> install-> Finish.
Liferay:LDAP Integration & Configuration12/26/16 9
LDAP Server Configuration
 Open File -> Connect.
 Fill the required details Like Host, Port, BaseDN, Level, Password and
Template -> ok.
 Tree structure is created in Jxplorer -> right click on that and click new.
 Select parent DN and fill RDN as cn=*.
 Select class and click -> Ok.
 Finally provide the following necessary values like sn , givenName ,
initials , mail , title and password and click submit.
12/26/16 Liferay:LDAP Integration & Configuration 10
Integration with Liferay
 Go to the Control Panel in Liferay.
 Control Panel ---> Portal Settings---> AuthenticaionLDAP
 Click on the Add from LDAP Servers Give name and Select
open ldap.
 For the Connection fill :
 Base Provider URL
 Base DN
 Principal
 Credentials
 Click Test Connection.
12/26/16 Liferay:LDAP Integration & Configuration 11
Continue
 For users Fill :
 Authentication Search Filter.
 Import Search Filter.
 User mapping details like screen name, email etc.
 Click Test LDAP User.
 To export the details fill:
 Users DN
 User Default Object Classes
 Groups DN
 Group Default Object Classes
12/26/16 Liferay:LDAP Integration & Configuration 12
Using Portal-ext.properties
 passwords.encryption.algorithm=NONE
 ldap.auth.password.encryption.algorithm=NONE # ldap
 ldap.base.provider.url=ldap://localhost:389
 ldap.base.dn=dc=example,dc=com
 ldap.security.principal:cn=root,dc=example,dc=com
 ldap.security.credentials=secret ldap.auth.enabled=true
 ldap.auth.required=true
12/26/16 Liferay:LDAP Integration & Configuration 13
Activate LDAP
 Go to LDAP option in liferay.
 Check the Enabled and required option.
 Check the import enabled.
 Check the export enabled.
 Use LDAP Password Policy
 Login with LDAP users to log in liferay.
12/26/16 Liferay:LDAP Integration & Configuration 14
Thank you

More Related Content

PPT
Java JSON Parser Comparison
PPTX
Build, logging, and unit test tools
PPT
File System On Steroids
PDF
Scaling massive elastic search clusters - Rafał Kuć - Sematext
PDF
Logging in Scala
ODP
Query DSL In Elasticsearch
PDF
Java 8 in Anger, Devoxx France
PPT
Design and architecture of Jackrabbit
Java JSON Parser Comparison
Build, logging, and unit test tools
File System On Steroids
Scaling massive elastic search clusters - Rafał Kuć - Sematext
Logging in Scala
Query DSL In Elasticsearch
Java 8 in Anger, Devoxx France
Design and architecture of Jackrabbit

What's hot (20)

PDF
SQL for Elasticsearch
PPTX
Integrate ManifoldCF with Solr
PPT
Logging with Logback in Scala
PPT
Content Management With Apache Jackrabbit
PPTX
Hacking Lucene for Custom Search Results
PDF
Turning a Search Engine into a Relational Database
PPTX
/path/to/content - the Apache Jackrabbit content repository
PPTX
ELK Ruminating on Logs (Zendcon 2016)
PPTX
44CON 2014 - Pentesting NoSQL DB's Using NoSQL Exploitation Framework, Franci...
PDF
Scala Days NYC 2016
PPTX
SLF4J Explained........
PPTX
AEM Meetup Sydney - Content Migration with CRX2Oak
PPTX
Batching and Java EE (jdk.io)
PDF
Spring 4-groovy
PPTX
Elasticsearch, Logstash, Kibana. Cool search, analytics, data mining and more...
PPTX
Informix Java Driver Improvements 4.10.JC8
PDF
Introducing ELK
PDF
Lightbend Lagom: Microservices Just Right
PDF
Shipping & Visualize Your Data With ELK
PPTX
ELK at LinkedIn - Kafka, scaling, lessons learned
SQL for Elasticsearch
Integrate ManifoldCF with Solr
Logging with Logback in Scala
Content Management With Apache Jackrabbit
Hacking Lucene for Custom Search Results
Turning a Search Engine into a Relational Database
/path/to/content - the Apache Jackrabbit content repository
ELK Ruminating on Logs (Zendcon 2016)
44CON 2014 - Pentesting NoSQL DB's Using NoSQL Exploitation Framework, Franci...
Scala Days NYC 2016
SLF4J Explained........
AEM Meetup Sydney - Content Migration with CRX2Oak
Batching and Java EE (jdk.io)
Spring 4-groovy
Elasticsearch, Logstash, Kibana. Cool search, analytics, data mining and more...
Informix Java Driver Improvements 4.10.JC8
Introducing ELK
Lightbend Lagom: Microservices Just Right
Shipping & Visualize Your Data With ELK
ELK at LinkedIn - Kafka, scaling, lessons learned
Ad

Viewers also liked (20)

PPT
Json vs Gson vs Jackson
PPTX
Elastic search
PPTX
Java JSON Benchmark
PDF
Ajax Tutorial
PPTX
JSON(JavaScript Object Notation)
PDF
OpenLDAP - Installation and Configuration
PDF
Ldap configuration documentation
PPTX
Android custom listview
PDF
Directory Servers and LDAP
PDF
Android Data Persistence
PDF
Android Custom view
PDF
Persistence in Android
PDF
Painless Persistence in a Disconnected World
DOCX
Configuration ldap
PPTX
Google android Activity lifecycle
PPTX
Android Life Cycle
PPT
Ajax Ppt 1
PDF
Android development - ListView & Adapter
PDF
PPTX
Json vs Gson vs Jackson
Elastic search
Java JSON Benchmark
Ajax Tutorial
JSON(JavaScript Object Notation)
OpenLDAP - Installation and Configuration
Ldap configuration documentation
Android custom listview
Directory Servers and LDAP
Android Data Persistence
Android Custom view
Persistence in Android
Painless Persistence in a Disconnected World
Configuration ldap
Google android Activity lifecycle
Android Life Cycle
Ajax Ppt 1
Android development - ListView & Adapter
Ad

Similar to Open Ldap Integration and Configuration with Lifray 6.2 (20)

PDF
Practical-LDAP-and-Linux
PPT
Configuring Domino To Be An Ldap Directory And To Use An Ldap Directory
ODP
Ldapsession 1217528612650451-9
ODP
Ldapsession
PPT
The Ldap Protocol
PPTX
Open LDAP vs. Active Directory
PDF
Ldap 121020013604-phpapp01
PDF
Ldap introduction (eng)
PPT
Ldap system administration
PPTX
Ldap intro
PPTX
LDAP(In_Linux).pptx
PDF
Ldap sync with sap(rfc)
PDF
EKON 12 Running OpenLDAP
PDF
LDAP Applied (EuroOSCON 2005)
PDF
ivanova-samba_backend.pdf
PDF
OBIEE 11g: Configuring LDAP Server
PPTX
Installing And configuring active directory .pptx
ODP
Under the Hood 11g Identity Management
ODP
LSC - Synchronizing identities @ Loadays 2010
Practical-LDAP-and-Linux
Configuring Domino To Be An Ldap Directory And To Use An Ldap Directory
Ldapsession 1217528612650451-9
Ldapsession
The Ldap Protocol
Open LDAP vs. Active Directory
Ldap 121020013604-phpapp01
Ldap introduction (eng)
Ldap system administration
Ldap intro
LDAP(In_Linux).pptx
Ldap sync with sap(rfc)
EKON 12 Running OpenLDAP
LDAP Applied (EuroOSCON 2005)
ivanova-samba_backend.pdf
OBIEE 11g: Configuring LDAP Server
Installing And configuring active directory .pptx
Under the Hood 11g Identity Management
LSC - Synchronizing identities @ Loadays 2010

Recently uploaded (20)

PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
Cloud computing and distributed systems.
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPT
Teaching material agriculture food technology
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Cloud computing and distributed systems.
MIND Revenue Release Quarter 2 2025 Press Release
Understanding_Digital_Forensics_Presentation.pptx
Teaching material agriculture food technology
The AUB Centre for AI in Media Proposal.docx
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
Building Integrated photovoltaic BIPV_UPV.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Network Security Unit 5.pdf for BCA BBA.
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Unlocking AI with Model Context Protocol (MCP)
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
“AI and Expert System Decision Support & Business Intelligence Systems”
Review of recent advances in non-invasive hemoglobin estimation
20250228 LYD VKU AI Blended-Learning.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
The Rise and Fall of 3GPP – Time for a Sabbatical?

Open Ldap Integration and Configuration with Lifray 6.2

  • 2. Topics to cover  Understanding LDAP & Servers.  Information Structure.  Protocol overview.  Installing OpenLdap.  LDAP Server Configuration.  Integration with Liferay.  Activate LDAP Liferay:LDAP Integration & Configuration12/26/16 2
  • 3. Understanding LDAP  Lightweight Directory Access Protocol (LDAP).  open network protocol standard designed to provide access to distributed directories.  using TCP/IP protocols.  The phrase “write once read many times“ describes the best use of LDAP.  standard and allowing directories to be managed. Liferay:LDAP Integration & Configuration12/26/16 3
  • 4. LDAP Servers  389 Directory Server (formerly Fedora/Red Hat Directory Server)  Active Directory from Microsoft  Apache Directory Server  Apple Open Directory  FreeIPA  IBM Tivoli Directory Server  Mandriva Directory Server  Novell eDirectory  OpenDJ - A fork of the OpenDS project  OpenDS  OpenLDAP  Optimal IdM  Oracle Internet Directory  Radiant Logic VDS  Sun Java System Directory Server Liferay:LDAP Integration & Configuration12/26/16 4
  • 5. Information Structure  Presents information in the form of a hierarchical tree structure called a DIT (Directory Information Tree). Liferay:LDAP Integration & Configuration12/26/16 5
  • 6. Information Structure.  Each information, called Entry (or even DSE, Directory Service Entry).  Each entry in the LDAP directory relates to an abstract or real object (for example a person, a piece of hardware, parameters, etc.).  Each entry is made up of a collection of key/value pairs called attributes. Liferay:LDAP Integration & Configuration12/26/16 6
  • 7. Information Structure.  Types of attributes :  Normal attributes: these are the usual attributes (cn, name,o, ...) distinguishing the object.  Operational attributes: these are the attributes which only the server can access in order to manipulate the directory data (modification dates, etc,).  Every entry in the directory has a distinguished name (DN).  DN is made up of attribute=value pairs, separated by commas, for example:  dn:o=hp,ou=people,uid=hi5@gmail.com Liferay:LDAP Integration & Configuration12/26/16 7
  • 8. Protocol Overview  Client starts an LDAP session by connecting to an LDAP server.  The default TCP port is 389.  Bind to the server (think of this as authentication).  client then sends an operation request to the server.  the server sends responses in return. Liferay:LDAP Integration & Configuration12/26/16 8
  • 9. Integration of Open LDAP & Liferay  Software Requirement:  OpenLDAP (Windows edition)  LDAP Browsers(Jxplorer)  Installing openLDAP: 1. Choose your host as “localhost” or an “IP address” 2. Choose the port and SSL-port as you may want to use or can let it by default to 389 and 636 respectively. 3. Select a database for directory you want to use: BDB or LDAP (we have used BDB i.e berkely’s DB) 4. NEXT -> choose a password for your root directory, by default it would be “secret”. 5. NEXT-> install-> Finish. Liferay:LDAP Integration & Configuration12/26/16 9
  • 10. LDAP Server Configuration  Open File -> Connect.  Fill the required details Like Host, Port, BaseDN, Level, Password and Template -> ok.  Tree structure is created in Jxplorer -> right click on that and click new.  Select parent DN and fill RDN as cn=*.  Select class and click -> Ok.  Finally provide the following necessary values like sn , givenName , initials , mail , title and password and click submit. 12/26/16 Liferay:LDAP Integration & Configuration 10
  • 11. Integration with Liferay  Go to the Control Panel in Liferay.  Control Panel ---> Portal Settings---> AuthenticaionLDAP  Click on the Add from LDAP Servers Give name and Select open ldap.  For the Connection fill :  Base Provider URL  Base DN  Principal  Credentials  Click Test Connection. 12/26/16 Liferay:LDAP Integration & Configuration 11
  • 12. Continue  For users Fill :  Authentication Search Filter.  Import Search Filter.  User mapping details like screen name, email etc.  Click Test LDAP User.  To export the details fill:  Users DN  User Default Object Classes  Groups DN  Group Default Object Classes 12/26/16 Liferay:LDAP Integration & Configuration 12
  • 13. Using Portal-ext.properties  passwords.encryption.algorithm=NONE  ldap.auth.password.encryption.algorithm=NONE # ldap  ldap.base.provider.url=ldap://localhost:389  ldap.base.dn=dc=example,dc=com  ldap.security.principal:cn=root,dc=example,dc=com  ldap.security.credentials=secret ldap.auth.enabled=true  ldap.auth.required=true 12/26/16 Liferay:LDAP Integration & Configuration 13
  • 14. Activate LDAP  Go to LDAP option in liferay.  Check the Enabled and required option.  Check the import enabled.  Check the export enabled.  Use LDAP Password Policy  Login with LDAP users to log in liferay. 12/26/16 Liferay:LDAP Integration & Configuration 14