Summary

LDAP is a standardized way to share directory-style information between applications in your organization, or between organizations. LDAP uses distinguished names (DNs) to uniquely identify each object in an LDAP database and uses a schema to describe what types of objects are allowed to reside in that database.

Each object has one or more object classes, which determine the attributes that are available to the object. Objects can be both storers of data and parents to subobjects.

LDAP can be accessed in Java using JNDI. To access an LDAP database, you get an initial context to the root of the LDAP database and then use searches to find the specific object that you want to reference.

In the next chapter, you'll see an example of how to ...

Get MySQL™ and JSP™ Web Applications: Data-Driven Programming Using Tomcat and MySQL 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.