The composite repository requires that all composite property names map explicitly to only one primary or contributing property. If primary or contributing item descriptors contain one or more properties with the same name, you must exclude one of the properties (see Excluding Properties) or map it to another name.
You can map a property with the mapped-property-name
attribute in an item descriptor’s property
tag. For example, given two contributing item descriptors, where each has a login
property, you can map one of the properties to a different name like this:
<property
name="ldapLogin"
...
mapped-property-name="login"/>
In this example, the name
attribute specifies the property name in the composite item descriptor and the mapped-property-name
attribute specifies the name of the property in the primary or contributing item descriptor to which this property maps.