To use a composite profile repository instead of the standard SQL profile repository, override the default /atg/userprofiling/ProfileAdapterRepository so that it is an instance of a MutableCompositeRepository instead. To do this, create an instance of atg.adapter.composite.MutableCompositeRepository as described in Creating a Composite Profile Repository Component, but save it at the Nucleus address /atg/userprofiling/ProfileAdapterRepository.

Note that performing this step also allows a writable composite profile repository to appear in the ACC (for example, in the People and Organizations > Users window). The composite repository whose definition file you specify in the configurationFile property appears in the ACC interface.

Creating a Composite Profile Repository Component

The composite profile repository itself is a component of class atg.adapter.composite.MutableCompositeRepository. Create an instance of this component with contents similar to the settings in the MutableCompositeRepository.properties file shown here:

$class=atg.adapter.composite.MutableCompositeRepository

repositoryName=UserProfiles
configurationFile=/atg/userprofiling/composite.xml
transactionManager=/atg/dynamo/transaction/TransactionManager
groupContainer=/atg/registry/RepositoryGroups
#loggingDebug=true
#debugLevel=20

In the configurationFile property, specify the XML definition file you created for the composite profile repository. For more information, refer to Configuring the Composite Repository Component in the Composite Repositories chapter of the Repository Guide.


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