Mapping Resource Attributes

You may need to map one or more resource attributes to attributes in the LDAP sources you have defined in your LDAP container. You may need to do this because the business process does not have direct access to the attributes in the LDAP sources, but it does have access to the resource attributes in the organization model.

Prerequisites

For the example shown in these steps, assume that the mail attribute in the deLAP2 LDAP source contains data that the business process needs. The business process has been designed in such a way to expect this data in the EmailAddress resource attribute. Therefore, if the mail LDAP attribute is mapped to the EmailAddress resource attribute, the business process will be able to access the user’s email address at runtime.

Procedure

  1. From the list of LDAP containers, choose the container that contains the LDAP source to which you want to map one or more resource attributes, then click Edit.
  2. In the Resource Attribute Mapping section on the Edit LDAP Container dialog, choose the appropriate version of the organization model from the Select Version list.

    Note that prior to choosing the organization model version, any previously assigned resource attributes are listed, but they are shown with GUIDs rather than resource attribute names. For example:

    Once the version is selected, the resource attribute names are shown.

  3. From the Available Resource Attributes that are displayed, select the resource attribute to which you want to map LDAP attribute data by clicking the plus sign to the right of the resource attribute name.
    Note: If there are LDAP attributes that contain binary data, those attributes may or may not be included in the list of available LDAP attributes, depending on the setting of a configuration set by the system administrator. For information about this parameter, see the TIBCO Workspace Configuration and Customization guide. LDAP attributes that contain binary data are base-64 encoded, therefore they can be mapped to resource attributes of type String.)
    The chosen attribute is added to the List of Attributes to be Mapped section.
  4. Click the arrow button in the Source column and choose the LDAP source that contains the LDAP attribute that is being mapped to the resource attribute.
    The list contains all LDAP sources that are used in the container. For example:

  5. Click the button to the right the arrow icon in the Attribute column.
    This causes the Organization Browser to read the attributes from the LDAP source you selected.
  6. Click the arrow icon in the Attribute column, then choose the LDAP attribute whose value you want mapped to the resource attribute.

    For example:

  7. Map additional attributes by clicking the plus sign to the right of the desired attributes in the List of Attributes to be Mapped section.
    If you choose an LDAP source that is different than one you've already chosen, you also need to click the button to read the attributes from the newly selected source.
    Note: You can also remove attributes from the List of Attributes to be Mapped section by clicking the minus sign to the right of the attribute name in the Resource Attribute column.
  8. When you've added all of the desired attributes to the List of Attributes to be Mapped section, click Save.