A view provides a virtual abstraction of directory data. This enables LDAP applications to view the data in a way that matches the needs of the application, similar to the way that database views are used in RDBMS systems. You define a view to the DSA process and can then invoke it multiple times.
Sometimes you need the results from one search to use as input to another one, and you may also need to include the results of multiple searches to get the result you need. A view helps in such situations because it gives you a way to define a single complex search that combines a number of ordinary LDAP searches. The searches can be performed across multiple DSAs, and a search can use the results of earlier searches in the view.
Some advantages of views are as follows:
Consider a broadband service provider with entries for customers, customer contracts, accounts, services, and physical devices. The structure of the directory lets you easily find information based on the customer, but it is not built to easily find information based on the physical device. For example, to find the services used by a device you may need the following chain of searches:
A view gives you a way to combine these searches into one search, as follows:
Copyright © 2009 CA. All rights reserved. | Email CA about this topic |