Integrating LDAP with Payara® Server

This guide explains and demonstrates how to integrate Lightweight Directory Access Protocol with Payara Server

If you work in an organization with a robust IT department, it’s very likely that you are using a LDAP server to handle your user directory information. You probably have to follow some general guidelines dictating that all web applications deployed within the organization’s infrastructure must access this user directory; and must authenticate and authorize the users that will interact with them. This is a very common scenario nowadays.

In this guide, we illustrate the implementation of the LDAP integration using a sample scenario: integrate Payara® Server with a LDAP user directory and manage the authentication and authorization of a sample web application.


  • Starting the LDAP Server
  • Configuring Security
  • Creating a Web Application
  • Extracting User Information
  • Seamless Authentication and Authorization