The following sample shows a simple composite repository definition file for a profile repository that has a SQL primary view and one contributing LDAP view. For detailed information on the tags you can include in this file, including a description of the composite repository DTD, please refer to the ATG Repository Guide.
<?xml version="1.0" encoding="ISO-8859-1" ?> <!DOCTYPE composite-repository-template PUBLIC "-//Art Technology Group, Inc.//DTD Scenario Manager//EN" 'http://www.atg.com/dtds/composite-repository/composite-repository_1.0.dtd' > <!-- composite repository definition --> <composite-repository-template> <header> <name>A sample Composite Repository template</name> <author>Granny</author> <version>$Change: 240431 $$DateTime: 2002/05/17 17:23:12 $$Author: jsmith $</version> </header> <!-- composite item descriptor definition --> <item-descriptor name="user" default="true" display-property="login" contributing-item-creation-policy="eager" null-contributing-item-policy="null" link-method="static"> <!-- primary view definition --> <primary-item-descriptor name="gsaUser" repository-nucleus-name="/atg/userprofiling/gsa/GSARepository" repository-item-descriptor-name="user" all-properties-propagate="true" all-properties-queryable="true"> </primary-item-descriptor> <!-- contributing view definition --> <contributing-item-descriptor name="ldapUser" repository-nucleus-name="/atg/userprofiling/ldap/LDAPRepository" repository-item-descriptor-name="user" all-properties-propagate="true" all-properties-queryable="true"> <primary-item-descriptor-link> <link-via-property primary="login" contributing="ldapLogin"/> </primary-item-descriptor-link> <property name="ldapFirstName" mapped-property-name="firstName"/> <property name="ldapLastName" mapped-property-name="lastName"/> <property mapped-property-name="password" exclude="true"/> </contributing-item-descriptor> </item-descriptor> </composite-repository-template>