O'Reilly logo

Practical Spring LDAP: Enterprise Java LDAP Development Made Easy by Balaji Varanasi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 5

image

Advanced Spring LDAP

In this chapter, you will learn

  • The basics of JNDI object factories.
  • DAO implementation using object factories.

JNDI Object Factories

JNDI provides the notion of object factories, which makes dealing with LDAP information easier. As the name suggests, an object factory transforms directory information into objects that are meaningful to the application. For example, using object factories it is possible to have a search operation return object instances like Patron or Employee instead of plain javax.naming.NamingEnumeration.

Figure 5-1 depicts the flow involved when an application performs LDAP operations in ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required