This example shows you the procedure an administrator would follow to create a direct and reverse association between an account class, and a group class. In this example, the administrator defines an association that describes the relationship between the group class and the user account class.
This example assumes that the administrator has setup a JNDI data source, and created and mapped an account class named User account.
To create a direct and reverse association between an account class and a group class, define an association that describes the relationship between the group class and the user account class.
Follow these steps:
The Mapped Classes dialog appears.
Connector Xpress adds the new class to the mapping tree.
The Map Class dialog appears.
The Map Attributes dialog appears.
Selecting the check box specifies that the member attribute is multivalued and can hold multiple account names.
The Class Associations dialog appears.
Connector Xpress adds a node named with User Account to the mapping tree.
The Direct Association with User Account dialog appears.
Note: Connector Xpress selects the group's naming attribute in the Group of Names By Attribute field as the attribute to map to by default.
Selecting the member attribute maps the groups member attribute to the account's naming attribute. That is, you have specified that the groups member attribute is populated by the accounts naming attribute, and defined the Group of names class as a group class.
The Reverse Association dialog appears.
In this example, the native account class does not have a memberOf attribute, so create a virtual memberOf attribute and map it to the group's naming attribute.
Note: Connector Xpress selects the group's naming attribute in the By Attribute field as the attribute to map to by default.
Connector Xpress creates the direct and reverse associations between the account and group class you have mapped.
Copyright © 2014 CA.
All rights reserved.
|
|