SlideShare a Scribd company logo
1 of 15
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

What's hot

SQL for Elasticsearch
SQL for ElasticsearchSQL for Elasticsearch
SQL for ElasticsearchJodok Batlogg
 
Integrate ManifoldCF with Solr
Integrate ManifoldCF with SolrIntegrate ManifoldCF with Solr
Integrate ManifoldCF with Solrfrancelabs
 
Logging with Logback in Scala
Logging with Logback in ScalaLogging with Logback in Scala
Logging with Logback in ScalaKnoldus Inc.
 
Content Management With Apache Jackrabbit
Content Management With Apache JackrabbitContent Management With Apache Jackrabbit
Content Management With Apache JackrabbitJukka Zitting
 
Hacking Lucene for Custom Search Results
Hacking Lucene for Custom Search ResultsHacking Lucene for Custom Search Results
Hacking Lucene for Custom Search ResultsOpenSource Connections
 
Turning a Search Engine into a Relational Database
Turning a Search Engine into a Relational DatabaseTurning a Search Engine into a Relational Database
Turning a Search Engine into a Relational DatabaseMatthias Wahl
 
/path/to/content - the Apache Jackrabbit content repository
/path/to/content - the Apache Jackrabbit content repository/path/to/content - the Apache Jackrabbit content repository
/path/to/content - the Apache Jackrabbit content repositoryJukka Zitting
 
ELK Ruminating on Logs (Zendcon 2016)
ELK Ruminating on Logs (Zendcon 2016)ELK Ruminating on Logs (Zendcon 2016)
ELK Ruminating on Logs (Zendcon 2016)Mathew Beane
 
44CON 2014 - Pentesting NoSQL DB's Using NoSQL Exploitation Framework, Franci...
44CON 2014 - Pentesting NoSQL DB's Using NoSQL Exploitation Framework, Franci...44CON 2014 - Pentesting NoSQL DB's Using NoSQL Exploitation Framework, Franci...
44CON 2014 - Pentesting NoSQL DB's Using NoSQL Exploitation Framework, Franci...44CON
 
AEM Meetup Sydney - Content Migration with CRX2Oak
AEM Meetup Sydney - Content Migration with CRX2OakAEM Meetup Sydney - Content Migration with CRX2Oak
AEM Meetup Sydney - Content Migration with CRX2OakMichael Henderson
 
Batching and Java EE (jdk.io)
Batching and Java EE (jdk.io)Batching and Java EE (jdk.io)
Batching and Java EE (jdk.io)Ryan Cuprak
 
Spring 4-groovy
Spring 4-groovySpring 4-groovy
Spring 4-groovyGR8Conf
 
Elasticsearch, Logstash, Kibana. Cool search, analytics, data mining and more...
Elasticsearch, Logstash, Kibana. Cool search, analytics, data mining and more...Elasticsearch, Logstash, Kibana. Cool search, analytics, data mining and more...
Elasticsearch, Logstash, Kibana. Cool search, analytics, data mining and more...Oleksiy Panchenko
 
Informix Java Driver Improvements 4.10.JC8
Informix Java  Driver Improvements 4.10.JC8Informix Java  Driver Improvements 4.10.JC8
Informix Java Driver Improvements 4.10.JC8Brian Hughes
 
Lightbend Lagom: Microservices Just Right
Lightbend Lagom: Microservices Just RightLightbend Lagom: Microservices Just Right
Lightbend Lagom: Microservices Just Rightmircodotta
 
Shipping & Visualize Your Data With ELK
Shipping  & Visualize Your Data With ELKShipping  & Visualize Your Data With ELK
Shipping & Visualize Your Data With ELKAdam Chen
 
ELK at LinkedIn - Kafka, scaling, lessons learned
ELK at LinkedIn - Kafka, scaling, lessons learnedELK at LinkedIn - Kafka, scaling, lessons learned
ELK at LinkedIn - Kafka, scaling, lessons learnedTin Le
 

What's hot (20)

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

Viewers also liked

Ajax Tutorial
Ajax TutorialAjax Tutorial
Ajax Tutorialoscon2007
 
JSON(JavaScript Object Notation)
JSON(JavaScript Object Notation)JSON(JavaScript Object Notation)
JSON(JavaScript Object Notation)Raghu nath
 
OpenLDAP - Installation and Configuration
OpenLDAP - Installation and ConfigurationOpenLDAP - Installation and Configuration
OpenLDAP - Installation and ConfigurationWildan Maulana
 
Ldap configuration documentation
Ldap configuration documentationLdap configuration documentation
Ldap configuration documentationShree Niraula
 
Android custom listview
Android custom listviewAndroid custom listview
Android custom listviewparmistech
 
Directory Servers and LDAP
Directory Servers and LDAPDirectory Servers and LDAP
Directory Servers and LDAPWildan Maulana
 
Persistence in Android
Persistence in AndroidPersistence in Android
Persistence in Androidma-polimi
 
Painless Persistence in a Disconnected World
Painless Persistence in a Disconnected WorldPainless Persistence in a Disconnected World
Painless Persistence in a Disconnected WorldChristian Melchior
 
Configuration ldap
Configuration ldapConfiguration ldap
Configuration ldapAli Baba
 
Android Life Cycle
Android Life CycleAndroid Life Cycle
Android Life Cyclemssaman
 
Android development - ListView & Adapter
Android development - ListView & AdapterAndroid development - ListView & Adapter
Android development - ListView & AdapterLope Emano
 

Viewers also liked (20)

Json vs Gson vs Jackson
Json vs Gson vs JacksonJson vs Gson vs Jackson
Json vs Gson vs Jackson
 
Elastic search
Elastic searchElastic search
Elastic search
 
Java JSON Benchmark
Java JSON BenchmarkJava JSON Benchmark
Java JSON Benchmark
 
Ajax Tutorial
Ajax TutorialAjax Tutorial
Ajax Tutorial
 
JSON(JavaScript Object Notation)
JSON(JavaScript Object Notation)JSON(JavaScript Object Notation)
JSON(JavaScript Object Notation)
 
OpenLDAP - Installation and Configuration
OpenLDAP - Installation and ConfigurationOpenLDAP - Installation and Configuration
OpenLDAP - Installation and Configuration
 
Ldap configuration documentation
Ldap configuration documentationLdap configuration documentation
Ldap configuration documentation
 
Android custom listview
Android custom listviewAndroid custom listview
Android custom listview
 
Directory Servers and LDAP
Directory Servers and LDAPDirectory Servers and LDAP
Directory Servers and LDAP
 
Android Data Persistence
Android Data PersistenceAndroid Data Persistence
Android Data Persistence
 
Android Custom view
Android Custom view Android Custom view
Android Custom view
 
Persistence in Android
Persistence in AndroidPersistence in Android
Persistence in Android
 
Painless Persistence in a Disconnected World
Painless Persistence in a Disconnected WorldPainless Persistence in a Disconnected World
Painless Persistence in a Disconnected World
 
Configuration ldap
Configuration ldapConfiguration ldap
Configuration ldap
 
Google android Activity lifecycle
Google android Activity lifecycle Google android Activity lifecycle
Google android Activity lifecycle
 
Android Life Cycle
Android Life CycleAndroid Life Cycle
Android Life Cycle
 
Ajax Ppt 1
Ajax Ppt 1Ajax Ppt 1
Ajax Ppt 1
 
Android development - ListView & Adapter
Android development - ListView & AdapterAndroid development - ListView & Adapter
Android development - ListView & Adapter
 
Ldap
LdapLdap
Ldap
 
Rhel6
Rhel6Rhel6
Rhel6
 

Similar to Open Ldap Integration and Configuration with Lifray 6.2

Practical-LDAP-and-Linux
Practical-LDAP-and-LinuxPractical-LDAP-and-Linux
Practical-LDAP-and-LinuxBalaji Ravi
 
Configuring Domino To Be An Ldap Directory And To Use An Ldap Directory
Configuring Domino To Be An Ldap Directory And To Use An Ldap DirectoryConfiguring Domino To Be An Ldap Directory And To Use An Ldap Directory
Configuring Domino To Be An Ldap Directory And To Use An Ldap DirectoryEdson Oliveira
 
Ldapsession 1217528612650451-9
Ldapsession 1217528612650451-9Ldapsession 1217528612650451-9
Ldapsession 1217528612650451-9rezgui
 
The Ldap Protocol
The Ldap ProtocolThe Ldap Protocol
The Ldap ProtocolGlen Plantz
 
Open LDAP vs. Active Directory
Open LDAP vs. Active DirectoryOpen LDAP vs. Active Directory
Open LDAP vs. Active DirectoryAhmad Haghighi
 
Ldap 121020013604-phpapp01
Ldap 121020013604-phpapp01Ldap 121020013604-phpapp01
Ldap 121020013604-phpapp01SANE Ibrahima
 
Ldap system administration
Ldap system administrationLdap system administration
Ldap system administrationAli Abdo
 
EKON 12 Running OpenLDAP
EKON 12 Running OpenLDAP EKON 12 Running OpenLDAP
EKON 12 Running OpenLDAP Max Kleiner
 
LDAP Applied (EuroOSCON 2005)
LDAP Applied (EuroOSCON 2005)LDAP Applied (EuroOSCON 2005)
LDAP Applied (EuroOSCON 2005)Fran Fabrizio
 
OBIEE 11g: Configuring LDAP Server
OBIEE 11g: Configuring LDAP Server  OBIEE 11g: Configuring LDAP Server
OBIEE 11g: Configuring LDAP Server adivasoft
 
Under the Hood 11g Identity Management
Under the Hood  11g Identity ManagementUnder the Hood  11g Identity Management
Under the Hood 11g Identity ManagementInSync Conference
 
LSC - Synchronizing identities @ Loadays 2010
LSC - Synchronizing identities @ Loadays 2010LSC - Synchronizing identities @ Loadays 2010
LSC - Synchronizing identities @ Loadays 2010Jonathan Clarke
 
LSC - Synchronizing identities @ Loadays 2010
 LSC - Synchronizing identities @ Loadays 2010 LSC - Synchronizing identities @ Loadays 2010
LSC - Synchronizing identities @ Loadays 2010RUDDER
 

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

Practical-LDAP-and-Linux
Practical-LDAP-and-LinuxPractical-LDAP-and-Linux
Practical-LDAP-and-Linux
 
Ldap
LdapLdap
Ldap
 
Configuring Domino To Be An Ldap Directory And To Use An Ldap Directory
Configuring Domino To Be An Ldap Directory And To Use An Ldap DirectoryConfiguring Domino To Be An Ldap Directory And To Use An Ldap Directory
Configuring Domino To Be An Ldap Directory And To Use An Ldap Directory
 
Ldapsession 1217528612650451-9
Ldapsession 1217528612650451-9Ldapsession 1217528612650451-9
Ldapsession 1217528612650451-9
 
Ldapsession
LdapsessionLdapsession
Ldapsession
 
The Ldap Protocol
The Ldap ProtocolThe Ldap Protocol
The Ldap Protocol
 
Open LDAP vs. Active Directory
Open LDAP vs. Active DirectoryOpen LDAP vs. Active Directory
Open LDAP vs. Active Directory
 
Ldap 121020013604-phpapp01
Ldap 121020013604-phpapp01Ldap 121020013604-phpapp01
Ldap 121020013604-phpapp01
 
Ldap introduction (eng)
Ldap introduction (eng)Ldap introduction (eng)
Ldap introduction (eng)
 
Ldap system administration
Ldap system administrationLdap system administration
Ldap system administration
 
Ldap intro
Ldap introLdap intro
Ldap intro
 
LDAP(In_Linux).pptx
LDAP(In_Linux).pptxLDAP(In_Linux).pptx
LDAP(In_Linux).pptx
 
Ldap sync with sap(rfc)
Ldap sync with sap(rfc)Ldap sync with sap(rfc)
Ldap sync with sap(rfc)
 
EKON 12 Running OpenLDAP
EKON 12 Running OpenLDAP EKON 12 Running OpenLDAP
EKON 12 Running OpenLDAP
 
LDAP Applied (EuroOSCON 2005)
LDAP Applied (EuroOSCON 2005)LDAP Applied (EuroOSCON 2005)
LDAP Applied (EuroOSCON 2005)
 
ivanova-samba_backend.pdf
ivanova-samba_backend.pdfivanova-samba_backend.pdf
ivanova-samba_backend.pdf
 
OBIEE 11g: Configuring LDAP Server
OBIEE 11g: Configuring LDAP Server  OBIEE 11g: Configuring LDAP Server
OBIEE 11g: Configuring LDAP Server
 
Under the Hood 11g Identity Management
Under the Hood  11g Identity ManagementUnder the Hood  11g Identity Management
Under the Hood 11g Identity Management
 
LSC - Synchronizing identities @ Loadays 2010
LSC - Synchronizing identities @ Loadays 2010LSC - Synchronizing identities @ Loadays 2010
LSC - Synchronizing identities @ Loadays 2010
 
LSC - Synchronizing identities @ Loadays 2010
 LSC - Synchronizing identities @ Loadays 2010 LSC - Synchronizing identities @ Loadays 2010
LSC - Synchronizing identities @ Loadays 2010
 

Recently uploaded

New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfjimielynbastida
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 

Recently uploaded (20)

New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdf
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 

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