CHAPTER 6

image

Searching LDAP

In this chapter you will learn

  • The basics of LDAP search
  • LDAP search using filters
  • Creating custom search filter

Searching for information is the most common operation performed against LDAP. A client application initiates an LDAP search by passing in search criteria, the information that determines where to search and what to search for. Upon receiving the request, the LDAP server executes the search and returns all the entries that match the criteria.

LDAP Search Criteria

The LDAP search criteria are made up of three mandatory parameters—base, scope, and filter and several optional parameters. Let’s look at each of ...

Get Practical Spring LDAP: Enterprise Java LDAP Development Made Easy now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.