Advanced Spring LDAP
In this chapter, you will learn
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 ...