The <ObjectAttributes> section specifies the set of attributes to be managed and queried in Identity Manager. Each <ObjectAttribute> element name should be the same as the native resource attribute name. Unlike user attributes in Identity Manager, no attribute mapping is specified. Use only the native attribute names.
The following table describes attributes that are required for <ObjectAttributes>.
Table 9–29 Required Attributes for <ObjectAttributes>
Attribute |
Description |
---|---|
idAttr |
The value of this attribute should be the resource object attribute name that uniquely identifies this object within the resource’s object namespace (for example, dn, uid) |
displayNameAttr |
The value of this attribute should be the resource object attribute name whose value is the name you want displayed when objects of this type are viewed within Identity Manager (for example, cn, samAccountName). |
descriptionAttr |
(Optional) This value of this attribute should be the resource object attribute name whose value you want displayed in the Description column of the Resources page. |
The following example shows an <ObjectAttributes> section defined in an <ObjectType>.
<ObjectAttributes idAttr=’dn’ displayNameAttr=’cn’ descriptionAttr= ’description’>\n"+ <ObjectAttribute name=’cn’ type=’string’/>\n"+ <ObjectAttribute name=’description’ type=’string’/>\n"+ <ObjectAttribute name=’owner’ type=’distinguishedname’ namingAttr=’cn’/>\n"+ <ObjectAttribute name=’uniqueMember’ type=’dn’ namingAttr=’cn’ />\n"+ </ObjectAttributes>\n"+ |
The following table describes the <ObjectAttribute> attributes.
Table 9–30 <ObjectAttribute> Attributes
Attribute |
Description |
---|---|
name |
Identifies the resource object type attribute name (required) |
type |
Identifies the type of object. Valid types include string or distinguishedname / ”dn’ (defaults to string) |
namingAttr |
If object type is distinguishedname or dn, this value specifies the attribute whose value should be used to display an instance of this object type referred to by the dn within Identity Manager |
The methods in the resource adapter object type implementation are responsible for coercing all string values into the appropriate type based on the resource attribute name.