CHAPTER 2

image

Java Support for LDAP

In this chapter, we will discuss:

  • » Basics of JNDI
  • » LDAP enabling applications using JNDI
  • » JNDI drawbacks

The Java Naming and Directory Interface (JNDI), as the name suggests provides a standardized programming interface for accessing naming and directory services. It is a generic API and can be used to access a variety of systems including file systems, EJB, CORBA, and directory services such as Network Information Service and LDAP. JNDI’s abstractions to directory services can be viewed as similar to JDBC’s abstractions to relational databases.

The JNDI architecture consists of an Application Programming ...

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.