The /atg/userprofiling/LDAPOrganizationItemFinder component is an instance of RepositoryLinkProfileItemFinder. Its purpose is to locate organization items in an LDAP repository. It is similar in function and behavior to the standard ProfileItemFinder component.

The code below is an example of an LDAPOrganizationItemFinder.properties file.

$class=atg.userprofiling.RepositoryLinkProfileItemFinder
profileTools=ProfileTools
propertyManager=PropertyManager
profileRepository=ProfileAdapterRepository
linkedRepository=/atg/adapter/ldap/LDAPRepository
linkedProfileTypeMap=organization=organizationalUnit
linkPropertyLocal=name
linkPropertyRemote=name
createLocalProfiles=true

Set the properties of this component as follows.

Property

Description

profileTools

The profile tools component that this finder uses to find repository items.

Default: /atg/userprofiling/ProfileTools

propertyManager

The Personalization module’s standard property manager.

Default: /atg/userprofiling/PropertyManager

profileRepository

The repository in which this finder finds repository items.

Default: /atg/userprofiling/ProfileAdapterRepository

linkedRepository

The repository in which the items implicitly linked to SQL repository items reside.

Default: /atg/adapter/ldap/LDAPRepository

linkedProfileTypeMap

The map of local SQL repository item types to remote LDAP item types. The default assumes that your SQL organization item type is organization and your LDAP organization item type is organizationalUnit. If you change either your SQL or LDAP organization view names, you must also change these map entries.

Default: organization=organizationalUnit

linkPropertyLocal

The name of the property of SQL repository organization items that implicitly links them to LDAP organizationalUnit items. The linkPropertyLocal property must be set to the same value as linkPropertyLocal for the link property in the organization item descriptor in the userProfile.xml file.

Default: name

linkPropertyRemote

The name of the property of LDAP organizationalUnit items that implicitly links them to SQL repository organization items. The linkPropertyRemote property must be set to the same value as linkPropertyRemote for the link property in the organization item descriptor in the userProfile.xml file.

Default: name

createLocalProfiles

Tells this profile finder whether to create local SQL repository organization items when a remote LDAP organizationalUnit item is found.

Default: false

Note that a default instance of this component is not provided with the Personalization module. If you want to use this component, create an instance of class atg.userprofiling.RepositoryLinkProfileItemFinder and configure it as shown here.


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