To support an LDAP-based user directory, modify the PropertyManager component (/atg/userprofiling/PropertyManager) so that the ProfileItemFinder uses LDAP as its master record of users, looking in the LDAP repository instead of in the ProfileAdapterRepository.

The code below is an example of a PropertyManager.properties file for this type of configuration:

passwordPropertyName=ldapUser.password
emailAddressPropertyName=ldapUser.email
firstNamePropertyName=ldapUser.firstName
lastNamePropertyName=ldapUser.lastName
loginPropertyName=login
passwordHasher=/atg/adapter/ldap/NDSPasswordHasher

Set the properties of this component as follows.

Property

Description

passwordPropertyName

The name of a user’s password property.

emailAddressPropertyName

The name of a user’s email property.

firstNamePropertyName

The name of a user’s firstName property.

lastNamePropertyName

The name of a user’s lastName property.

passwordHasher

The encoder for LDAP passwords. For Oracle Directory Server, set this property to /atg/adapter/ldap/NDSPasswordHasher. For more information, see LDAP Password Encryption in the ATG Repository Guide.


Copyright © 1997, 2012 Oracle and/or its affiliates. All rights reserved. Legal Notices