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 doesn’t 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>

then its repository items will have the following objectClasses property:

objectClasses=top,person,organizationalPerson,inetorgPerson
object-classes-property Tag 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.

Defaults to value of name.

display-name

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

Defaults to 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 using this property. For example, an LDAP users item descriptor might use display-property="login". Then, each repository item would be represented using the value of the item’s login property.

description

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

Defaults to value of name.

 
loading table of contents...