The /atg/userprofiling/ProfileItemFinder
component is used by the Personalization module to find users, either by attribute (for example, a login name or email address) or by ID. For example, when a user logs in using a profile form handler, the supplied username and password are passed on to ProfileItemFinder
in order to locate the user in the profile repository. The component represents the standard way for any user directory to find a user.
The code below is an example of a ProfileItemFinder.properties
file configured for an LDAP-based user directory:
$class=atg.userprofiling.RepositoryLinkProfileItemFinder profileTools=ProfileTools propertyManager=PropertyManager profileRepository=ProfileAdapterRepository linkedRepository=/atg/adapter/ldap/LDAPRepository linkedProfileTypeMap=user=user linkPropertyLocal=login linkPropertyRemote=login loginLinkedPropertyName=login passwordLinkedPropertyName=password firstNameLinkedPropertyName=firstName lastNameLinkedPropertyName=lastName emailLinkedPropertyName=email createLocalProfiles=true
The following table describes how to set the properties in this component:
Property | Description |
---|---|
| The profile tools component that this finder uses to find repository items. Default: |
| The Personalization module’s standard property manager. Default: |
| The repository in which this finder finds repository items. Default: |
| The repository in which the items implicitly linked to SQL repository items reside. Default: |
| The map of local SQL repository item types to remote LDAP item types. The default assumes that your SQL user item type is Default: |
| The name of the property of SQL repository Default: |
| The name of the property of LDAP Default: |
| Tells this profile finder whether to create local SQL repository user items when a remote LDAP user item is found. Default: |