Creating a Rule Rule Designer Form

Developing Resource Objects 11-55 Prevent Solaris Access . Figure 11–34 displays the Rule Elements tab of the Rule Designer form. Figure 11–34 Rule Elements Tab of the Rule Designer Form The rule in Figure 11–34 can be applied to a provisioning process for the Solaris resource object. After this resource object is assigned to a request, the rule is triggered. If the target users login is XELSYSADM, and the name of the resource object is Solaris , the Solaris resource object is provisioned to the user. Otherwise, the user cannot access Solaris. When a rule element or nested rule is no longer valid, remove it from the rule. The following procedures describe how to: ■ Add a rule element to a rule ■ Add a nested rule to a rule ■ Remove a rule element or nested rule from a rule Adding a Rule Element to a Rule To add a rule element to a rule:

1. Click Add Element.

The Edit Rule Element dialog box is displayed. The custom menus in the boxes on the Edit Rule Element dialog box reflect the items in the Type and Sub-Type boxes of the Rule Designer form. Table 11–10 describes the data fields in the Edit Rule Element dialog box. Table 11–10 Fields of the Edit Rule Element Dialog Box Name Description Attribute Source From this box, select the source of the attribute. For example, if the attribute you wish to select is Object Name, the attribute source to select would be Object Information. 11-56 Oracle Fusion Middleware Developers Guide for Oracle Identity Manager 2. Set the parameters for the rule you are creating, as shown in Figure 11–35 . Figure 11–35 Edit Rule Element Window In this example, if the Login ID of the target user is XELSYSADM, the rule element is true. Otherwise, it is false.

3. From the Toolbar of the Edit Rule Element dialog box, click Save, and click Close.

The rule element is displayed in the Rule Elements tab of the Rule Designer form. 4. From the main screens toolbar, click Save. The rule element is added to the rule. Adding a Nested Rule to a Rule To nest a rule within a rule:

1. Click Add Rule.

The Select Rule dialog box is displayed.

2. Select a nested rule and click Save.

3. Click Close.

User-Defined Form This field displays the user-created form that is associated with the attribute source that is displayed in the adjacent box. Note : If Process Data are not displayed in the Attribute Source box, the User-Defined Form field will be empty. Attribute From this box, select the attribute for the rule. Operation From this box, select the relationship between the attribute and the attribute value == or = Attribute Value In this field, enter the value for the attribute. Note : The attributes value is case-sensitive. See Also: For more information about the parameters, see Rule Elements Tab on page 11-54. Note: In the following procedure, only rules of the same type and subtype as the parent rule are displayed in the Select Rule window. Table 11–10 Cont. Fields of the Edit Rule Element Dialog Box Name Description