next up previous
Next: F.2 White Pages Lookup Up: F. Example Source Code Previous: F. Example Source Code

F.1 White Pages Lookup I

Source Code :
 
In this example, the Enterprise and commObject directories happen to be hosted on a single ldap server. As explained in the chapters on Architectural Decisions for Implementors, this configuration is just one of several possible architectures. Where an authoritative Enterprise LDAP Directory exists it would be likely that the commObject directory would be hosted on a separate directory server.

The scenario here is a white pages lookup - ie, search for someone by name in a person directory; retrieve their commURI's, and present the public information from the eduPerson and commObject object classes. Note that this code makes use of anonymous bind, as would be typical for a white pages lookup.


next up previous
Next: F.2 White Pages Lookup Up: F. Example Source Code Previous: F. Example Source Code

Video Middleware Cookbook
Questions and Comments : Cookbook Editors