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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.