The ATG LDAP Repository is an implementation of the Repository API that enables you to store and access profile data in an LDAP (Lightweight Directory Access Protocol) directory. The LDAP repository is similar in functionality to the SQL repository, as described earlier in this guide. While by default ATG Scenario Personalization is configured to use a SQL profile repository, you can change the configuration to use an LDAP repository instead. See the ATG Personalization Programming Guide for information about configuring ATG to use an LDAP profile repository. LDAP directories are widely used to store personnel information and other kinds of data. Using an LDAP repository enables you to tap into the profile data you already have in an LDAP directory, and to share user information across multiple applications.

In addition, you can configure ATG’s application security scheme to use an LDAP repository, rather than a SQL repository. See the Managing Access Control chapter in the ATG Programming Guide for more information.

Just like the SQL repository, the LDAP repository implements the ATG Repository API to allow you to store, access, modify, and query user profile information. As in the SQL repository, repository items are first created as transient items (RAM profiles); they become persistent after they are added to the database.

It is important to note, however, that the LDAP repository implementation is not specific to user profiles in any way. Since an LDAP directory can be used to store any kind of data (people, groups, mailing lists, documents, printers, etc.), you could use the LDAP repository to expose any of that data in ATG. In this chapter, we focus on using LDAP as a profile repository, because that is the most common application of LDAP. Keep in mind, however, that other uses are possible.

This chapter includes the following sections:

Overview: Setting Up an LDAP Repository
An overview of the steps you should take in designing and setting up an LDAP repository.

LDAP Directory Primer
A brief introduction to LDAP concepts and terminology

LDAP Repository Architecture
A description of the way item descriptors and repository items work in the LDAP repository.

Repository Views in the LDAP Repository
How multiple Repository Views can support multiple item descriptors in the same repository.

LDAP Repository Queries
A brief look at how queries work in the LDAP repository.

Configuring the LDAP Repository Components
How to configure the components that make up the LDAP repository

LDAP Repository Definition Tag Reference
A detailed reference on the XML tags used to define an LDAP repository.

Sample LDAP Repository Definition File
An example of an XML file that defines a simple LDAP repository.

Document Type Definition for LDAP Repository Definition Files
The XML DTD for LDAP repository definitions.

 
loading table of contents...