The <object-classes-property> tag exposes the object classes of an LDAP entry as a property of a RepositoryItem. This tag is always empty. For example:

<object-classes-property name="objectClasses" ldap-name="objectclass"/>

Like the <id-property> tag, the <object-classes-property> tag is required in a definition of a base item descriptor (an item descriptor that does not have a parent) but is not allowed in a child item descriptor that inherits from a parent. The property’s type is String[], a multi-valued String. For example, if an item descriptor definition has the <object-classes-property> tag in the preceding example and has the following object classes definition:

<object-class>top</object-class>
<object-class>person</object-class>
<object-class>organizationalPerson</object-class>
<object-class>inetorgPerson</object-class>

its repository items have the following objectClasses property:

objectClasses=top,person,organizationalPerson,inetorgPerson

object-classes-property attributes

Attribute

Description

Value

name

The name of the repository item property that stores the item’s LDAP object class values.

Required.

ldap-name

The property’s name in the LDAP directory.

Default: value of name

display-name

The text identifying the object classes property in the ATG Control Center.

Default: value of name

display-property

You can set this property to the name of a repository item property. A user interface can then represent the repository item with this property. For example, an LDAP users item descriptor might use display-property="login". Then, each repository item is represented with the value of the item’s login property.

description

The description of the object classes property displayed in the ATG Control Center.

Default: value of name

 
loading table of contents...