This section contains instructions on performing common tasks in the Policy Builder:
The Policy Builder can be opened from the Model Outline view, from the Policy Flow view, or from a policy set.
Open a project in Designer.
Click the
tab > select the icon.Double-click a policy listed in the Model Outline view or right-click and select
.Open a project in Designer.
Select the
tab > select the icon.Right-click a policy (for example, the Matching policy) in the Policy Flow view, then select
.You can also double-click the Matching policy in the Policy Flow.
Select the policy, then click
Right-click the policy in the policy set, then click
.You can also select the policy in the policy set, then click the
icon.To see all of the information in the Policy Builder window, without scrolling double-click the policy tab so the Policy Builder fills the entire window. To minimize the window, double-click the policy tab.
Figure 2-1 Policy Builder Full Screen
A policy sends data to the connected systems. A policy is created through the policy set.
Select a driver object from the
view in an open project.Select the
tab.If the
tab is not shown:Click the double arrow.
Select
.The policy set contains a toolbar and a list of policies.
The policy list displays all the policies contained in the selected policy set. During a transformation, the policies within the list are executed from top to bottom. The toolbar contains buttons and a drop-down menu that you can use to manage policies displayed in the list, including, editing, adding, deleting, renaming, and changing the processing order of the policies.
The policy set displays a copy of the policy. The buttons on the toolbar are enabled or disabled depending upon the item you have selected. The different icons are described below.
Table 2-1 Policy Set Toolbar
You can move through the policy set with keystrokes as well as using the mouse. The supported keystrokes are listed below.
Table 2-2 Keyboard Support
The Add Policy Wizard launches when you click the
icon in the toolbar. The Add Policy Wizard enables you to do the following:To launch the Add Policy Wizard:
Select a driver in the
view.Select a policy set item in the policy set, then click the
icon in the toolbar.In the Add Policy Wizard, select
, then click .Provide a policy name.
Accept the default container, or browse to and select the Driver, Publisher, or Subscriber object where you want the policy to be created.
This decision depends on how you want to organize the policies. By default, policies are placed under the container object that is selected in the
tab when the Add Policy Wizard is launched. For example, if you move to a Publisher object in the tab and then add a policy to a policy set, the policy defaults to the Publisher container. You can change this setting if you want to create policies in a different container. For example, you can set up a policy library under a dummy driver, put all of the common policies under this driver, and then simply reference the policies from the other drivers. That way, the policy is common. If you need to change a policy, you need to do it only once. If a policy is not reused by multiple drivers, you typically create that policy under the driver or channel that is using it.Select the type of policy you want to implement. The policy type defaults to
. You can select or , if you don’t want to use DirXML® Script.Click
.If the Schema Mapping policy set is selected, then an additional option is available for Schema Mapping. The new policy appears in the expanded policy set.
You can also add a policy by right-clicking a policy set.
Right-click a policy set (for example, Input Transformation Set).
Select
.Select how to implement the policy:
orName the policy.
Click
.Click
.In the Add Policy Wizard, select
, then click .Name the policy.
Accept the default container, or browse to and select the Driver, Publisher or Subscriber object where you want the policy to be created.
Browse to and select the policy you want to copy, then click
.Click
to make a copy of the selected policy.In the Add Policy Wizard, select
, then click .Click
to launch the model browser.Browse to and select the Policy object you want to link into the policy set, then click
.Linking a policy into a policy set doesn’t create a new Policy object. Instead, it adds a reference to an existing policy. This reference can be to any existing policy within the current Identity Vault. It doesn’t need to be contained within the current Driver object, but the policy type must be valid for the policy set that it is being linked to. For example, you can’t link a Schema Mapping policy into an Input policy set.
Linking a policy into a policy set is not permitted when viewing all policies.
Click
to link to the selected policy.A rule is defined as a set of conditions that must be met before a defined action occurs. Rules are created from condition groups, conditions, and actions.
Rules can be created in four different ways:
When you create a rule, you create condition groups, conditions, and actions. Each rule is composed of conditions, actions, and arguments. For more information, click the Help icon
when creating each item. The help files contain a definition and an example of the item being used.
From the Policy Builder toolbar, select
.You can also right-click and click
> .Either option launches the Create Rule Wizard.
Specify the name of the rule, then click
.Select the condition structure (
or ) then click .Select the condition you want, specify the appropriate information, then click
.Click the Help icon
for information about each condition you can create.
You can define an additional condition or condition group at this point. For this example, there is only one condition. Select
, then click .Select the action that you want, then click
.Click the Help icon
for information about each action you can create.
You can define additional actions at this point. For this example, there is only one action. Select
, then click .The summary page displays the rule that was created. Click
to complete the creation of the rule.You can expand or collapse the view of the rule by clicking the plus or minus sign.
Right-click the
tab or right-click the name of the , then click .Right-click the condition, then click
or .Right-click the action, then click
or .Designer includes a list of predefined rules. You can import and use these rules as well as create your own rules.
Right-click in the Policy Builder and select
or .See Section 2.2.6, Using Predefined Rules for more information.
Designer allows you to include the rules from another policy.
Right-click in the Policy Builder and click
or .Click the Browse icon.
Browse to the policy you want to include, then click
.The field is now populated with the path to the policy. Click
.The rule is a link to the original rule. You cannot edit the rule in this location. Access the original rule to make changes.
Rules and policies can be saved as XML files. If you have a file that contains a rule or a policy you want to use, the Policy Builder allows you to import the file.
In the Policy Builder, right-click and select
.You can also select the Import Policy icon from the drop-down list in the toolbar.
Select one of the two options:
or .Click the browse icon and select the file that contains the DirXML Script, then click
.Click
.The Argument Builder provides a dynamic graphical interface that enables you to construct complex argument expressions for use within the Policy Builder. To access the Argument Builder, see Argument Builder.
Arguments are dynamically used by actions and are derived from tokens that are expanded at run time.
Tokens are broken up into two classifications: nouns and verbs. Noun tokens expand to values that are derived from the current operation, the source or destination data stores, or some external source. Verb tokens modify the concatenated results of other tokens that are subordinate to them.
To define an expression, select one or more nouns tokens (values, objects, variables, etc.), and combine then with verb tokens (substring, escape, uppercase, and lowercase) to construct arguments. Multiple tokens are combined to construct complex arguments.
For example, if you want the argument set to an attribute value, you select the attribute noun, then select the attribute name:
Figure 2-2 Argument Builder
If you only want a portion of an attribute, you can combine the attribute noun with the substring verb:
Figure 2-3 Expression
After you add a noun or verb, you can provide values in the editor, then immediately add another noun or verb. You do not need to refresh the Expression pane to apply your changes; they appear when the next operation is performed.
See Noun Tokens and Verb Tokens for a detailed reference on tokens available in the Argument Builder.
Although you define most arguments using the Argument Builder, there are several more builders that are used by the Condition Editor and Action Editor in the Policy Builder. Each builder can recursively call anyone of the builders in the following list:
The information below describes how to access each Builder.
To launch the Actions Builder, select one of following two actions, then click the
.
In the following example the add destination attribute value action is performed for each Group entitlement that is being added in the current operation.
Figure 2-4 For Each Action
To define the action of the add destination attribute value, click the icon that launches the Actions Builder. In the Actions Builder, you define the desired action. In the following example, the member attribute is added to the destination object for each added Group entitlement.
Figure 2-5 Argument Action Builder
To launch the Argument Builder, select one of the following actions, then click the
.
Clear Destination Attribute Value (when the selected object is DN or Association)
Clear Source Attribute Value (when the selected object is DN or Association)
Delete Destination Object (when the selected object is DN or Association)
Delete Source Object (when the selected object is DN or Association)
Rename Destination Object (when the selected object is DN or Association and Enter String)
Rename Source Object (when the selected object is DN or Association and Enter String)
Set Destination Attribute Value (when the selected object is DN or Association and Enter Value Type is not structured)
Create the argument using the nouns and verbs.
The noun and verbs can be combined to create the desired argument.
Click Finish.
The Match Attribute Builder enables you to select attributes and values used by the Find Matching Object action to determine if a matching object exists in a data store.
For example, if you wanted to match users based on a common name and a location:
Select the action of
.Select the scope of the search for the matching objects. Select from
, , or .Specify the DN of the starting point for the search.
Click the
to launch the Match Attribute Builder.
Click the
icon to launch the Schema Browser.
Click the
tab, then browse to and select the desired attribute.Click
.If you want to add more than one attribute, click the
to add another line.
Click
.To launch the Action Argument Component Builder, select one of the following actions when the
.
Figure 2-6 Add Destination Attribute Value Action
Click the
when the value type is set to structured.
Create the value of the action component.
You can enter in the value, or click on the
icon to create the value in the Argument Builder.
Click
.To launch the Argument Value List Builder, select the following action, then click the
.
Figure 2-7 Set Default Attribute Value
Select the type of the value:
, , , , , , , , , .Click the
.
Click the
.
Create the value of the action component.
You can enter in the value, or click on the
icon to create the value in the Argument Builder.
Click
.To launch the Named String Builder, select one of the following actions, then click the
.
Select the name of the string from the drop-down list.
Create the value for the string by clicking the
to launch the Argument Builder.
Click
.For a Send Email action, the named strings correspond to the elements of the e-mail:
Figure 2-8 E-mail Elements in the Send Mail Action
A complete list of possible values is contained in the help file corresponding to the action that launches the Named String Builder.
To launch the Condition Argument Component Builder, select one of the following conditions, then you must select the structured selection for Mode in order to see the
.
Specify the name and value of the condition component.
Click
.You can launch the Pattern String Builder from the Argument Builder editor when the Unique Name token is selected. The Argument Builder editor pane shows a Pattern field where you can click to launch the Pattern String Builder.
Figure 2-9 Unique Name Token in the Argument Builder
Click the
to launch the Pattern Builder.
Specify the pattern or click the
to use the Argument Builder to create the pattern.
Click
.The Policy Builder allows you to create and edit policies. You can drag and drop rules, conditions and actions. For additional operations, access the Policy Builder toolbar. To display a context menu, right-click an item.
Figure 2-10 Policy Builder Context Menu and Toolbar
The table contains a list of the different actions and menu items in the Policy Builder.
Table 2-3 Policy Builder Actions and Menu Items
You can move through the Policy Builder with keystrokes as well as using the mouse. The supported keystrokes are listed below.
Table 2-4 Keyboard Support in the Policy Builder
In the Outline view, select the policy you want to rename.
Right-click and select
.Change the name of the policy in the
field.Click
.Do one of the following:
From the Main menu, click
> (or ).Close the editor by clicking the
in the editor’s tab.Select
from the Main Menu’s file menu.Press Ctrl+S.
The
field provides a place to add notes about the functionality of the policy.Figure 2-11 Policy Description
Designer includes twenty predefined rules. You can import and use these rules as well as create your own rules. These rules include common tasks that administrators use. You need to provide information specific to your environment to customize the rules.
To access the predefined rules:
In the Policy Builder, right-click and select
> or .The Predefined Rules dialog box displays a list of the available rules.
Creates a department container in the destination data store, if one does not exist. Implement the rule on the Command Transformation policy in the driver. You can implement the rule on either the Subscriber or the Publisher channel or on both channels.
There are two steps involved in using the predefined rules: creating a policy in the Command Transformation policy set and importing the predefined rule. If you already have a Command Transformation policy that you want to add this rule to, skip to Importing the Predefined Rule.
From the
view or the view, select the Publisher or Subscriber channel.Select the Command Transformation policy set in the Policy Set view, then click
to create a new policy.
Click
, then click .Name the policy.
Use the location that is populated to place the policy in the driver.
Select
, then click .Select
for the type of policy, then click .A file conflict window appears with the message “ Before editing this item you need to save. Do you wish to save the editor’s changes and continue?” Click . The Policy Builder is launched and the new Command Transformation policy is saved.
Right-click in the Policy Builder, then click
> or .Select
, then click .Right-click in Policy Builder and click
> or .Select
, then click .Save the rule by clicking
> .There is no information to change in the rules that are specific to your environment.
IMPORTANT:Make sure that the rules are listed in order. Part 1 must be executed before Part 2.
The rule is used when the destination location for an object does not exist. Instead of getting a veto because the object cannot be placed, this rule creates the container and places the object in the container.
Part 1 looks for any Add event. When the Add event occurs, two local variables are set. The first local variable is named target-container. The value of target-container is set to the destination DN. The second local variable is named does-target-exist. The value of does-target-exist is set to the destination attribute value of objectclass. The class is set to OrganizationalUnit. The DN of the OrganizationalUnit is set to the local variable of target-container.
Part 2 checks to see if the local variable does-target-exist is available. It also checks to see if the value of the local variable does-target-exist is set to a blank value. If the value is blank, then an Organizational Unit object is created. The DN of the organizational unit is set to the value of the local variable target-container. It also adds the value for the OU attribute. The value of the OU attribute is set to the local variable of target-container. It uses the source format as the destination DN and the destination format is dot format.
Transforms the Delete event for a user object into disabling the user object. Implement the rule on the Command Transformation policy in the driver. The rule needs to be implemented on the Publisher channel.
There are two steps involved in using the predefined rules: creating a policy in the Command Transformation policy set and importing the predefined rule. If you already have a Command Transformation policy that you want to add this rule to, skip to Importing the Predefined Rule.
From the
view or the view, select the Publisher channel.Select the Command Transformation policy set in the Policy Set view, then click
to create a new policy.
Click
, then click .Name the policy.
Use the location that is populated to place the policy in the driver.
Select
, then click .Select
for the type of policy, then click .A file conflict window appears with the message “ Before editing this item you need to save. Do you wish to save the editor’s changes and continue?” Click . The Policy Builder is launched and the new Command Transformation policy is saved.
Right-click in the Policy Builder, then click
> or .Select
, then click .Save the rule by clicking
> .There is no information to change in the rule that is specific to your environment.
The rule is used when a Delete event occurs in the connected data store. Instead of the user object being deleted in the Identity Vault, the User object is disabled. Anytime a Delete event occurs for a User object, the destination attribute value of Login Disabled is set to True and the association is removed from the User object. The User object can no longer log in into the Novell eDirectory tree, but the User object was not deleted.
The rule does not allow user objects to be created unless the required attributes are populated. Implement the rule on the Creation policy in the driver. You can implement the rule on either the Subscriber or the Publisher channel or on both channels.
There are two steps involved in using the predefined rules: creating a policy in the Creation policy set and importing the predefined rule. If you already have a Creation policy that you want to add this rule to, skip to Importing the Predefined Rule.
From the
view or the view, select the Publisher or Subscriber channel.Select the Creation policy set in the Policy Set view, then click
to create a new policy.
Click
, then click .Name the policy.
Use the location that is populated to place the policy in the driver.
Select
after creating policy, then click .Select
for the type of policy, then click .A file conflict window appears with the message “ Before editing this item you need to save. Do you wish to save the editor’s changes and continue?” Click . The Policy Builder is launched and the new Creation policy is saved.
Right-click in the Policy Builder and click
> or .Select
, then click .Edit the action by double-clicking the
tab.Delete
from the .Browse to the attributes you require for a User object to be created, then click
.Click
.Save the rule by selecting
> .The rule is used when your business processes require a user to have specific attributes populated when the user object is created. When a user object is created, the rule vetoes the creation of the object unless the required attributes are provided. You can have one or more required attributes.
If you want more than one required attribute, right-click the action and select
. Select , then browse to the attribute you want to require.Allows the use of a Novell eDirectory template object during the creation of a User object. Implement the rule on the Publisher Creation policy in the driver. You can implement the rule only on the Publisher channel.
There are two steps involved in using the predefined rules: creating a policy in the Creation policy set and importing the predefined rule. If you already have a Creation policy that you want to add this rule to, skip to Importing the Predefined Rule.
From the
view or the view, select the Publisher channel.Select the Creation policy set in the Policy Set view, then click
to create a new policy.
Click
, then click .Name the policy.
Use the location that is populated to place the policy in the driver.
Select
, then click .Select
for the type of policy, then click .A file conflict window appears with the message “ Before editing this item you need to save. Do you wish to save the editor’s changes and continue?” Click . The Policy Builder is launched and the new Creation policy is saved.
Right-click in the Policy Builder, then click
> or .Select
, then click .Edit the action by double-clicking the
tab.Delete
from the field.Click the
to launch the Argument Builder.
Select
in the list.Double-click
to add it to the argument.In the Editor, click the browse icon, browse to and select the template object, then click
.Click
.Save the rule by clicking
> .The rule is used when you want to use a template object to create a user in the Identity Vault. If you have attributes that are the same for different users, using the template saves time. You fill in the information in the template object, and when the User object is created, Identity Manager calls the template and uses that to create the User object.
During the creation of User objects, the rule performs the action of the set operation template DN. The action calls the template object and creates the User object with the information in the template.
Allows you to set default values for attributes that are assigned during the creation of User objects. Implement the rule on the Subscriber Creation policy or Publisher Creation policy in the driver.
There are two steps involved in using the predefined rules: creating a policy in the Creation policy set and importing the predefined rule. If you already have a Creation policy that you want to add this rule to, skip to Importing the Predefined Rule.
From the
view or the view, select the Publisher or Subscriber channel.Select the Creation policy set in the Policy Set view, then click the
to create a new policy.
Click
, then click .Name the policy.
Use the location that is populated to place the policy in the driver.
Select
, then click .Select
for the type of policy, then click .A file conflict window appears with the message “ Before editing this item you need to save. Do you wish to save the editor’s changes and continue?” Click . The Policy Builder is launched and the new Creation policy is saved.
Right-click in the Policy Builder, then click
> or .Select
, then click .Edit the action by double-clicking the
tab.Delete
from the .Click the browse icon, then browse to and select the attribute you want to create.
Delete
from the field.Click the
to launch the Argument Values List Builder.
Select the type of data you want the value to be.
Click the
to launch the Argument Builder.
Create the value for the attribute in the Argument Builder, then click
.Click
.Save the rule by clicking
> .The rule is used when you want to create a User object with default attributes and values. When a User object is created, the rule sets the attribute and the value for that attribute.
If you want more than one attribute value defined, right-click the action and click Step 1 through Step 12to assign the value to the attribute.
> . Select the action, set the default attribute value, and followDuring the creation of user objects, it sets a default password for user objects. Implement the rule on the Creation policy in the driver. You can implement the rule on either the Subscriber or the Publisher channel or on both channels.
There are two steps involved in using the predefined rules: creating a policy in the Creation policy set and importing the predefined rule. If you already have a Creation policy that you want to add this rule to, skip to Importing the Predefined Rule.
From the
view or the view, select the Publisher or Subscriber channel.Select the Creation policy set in Policy Set view, then click
to create a new policy.
Click
, then click .Name the policy.
Use the location that is populated to place the policy in the driver.
Select
, then click .Select
for the type of policy, then click .A file conflict window appears with the message “ Before editing this item you need to save. Do you wish to save the editor’s changes and continue?” Click . The Policy Builder is launched and the new Creation policy is saved.
Right-click in the Policy Builder, then click
> or .Select
, then click .Save the rule by clicking
> .There is no information to change in the rule that is specific to your environment.
The rule is used when you want User objects to be created with a default password. During the creation of a User object, the password that is set for the User object is the Given Name attribute plus the Surname attribute of the User object.
You can change the value of the default password by editing the argument. You can set the password to any other value you want through the Argument Builder.
Excludes all events that occur except for the specific subtree. Implement the rule on the Event Transformation policy in the driver. You can implement the rule on either the Subscriber or the Publisher channel or on both channels.
There are two steps involved in using the predefined rules: creating a policy in the Event Transformation policy set and importing the predefined rule. If you already have an Event Transformation policy that you want to add this rule to, skip to Importing the Predefined Rule.
From the
view or the view, select the Publisher or Subscriber channel.Select the Event Transformation policy set in the Policy Set view, then click
to create a new policy.
Click
, then click .Name the policy.
Use the location that is populated to place the policy in the driver.
Select
, then click .Select
for the type of policy, then click .A file conflict window appears with the message “ Before editing this item you need to save. Do you wish to save the editor’s changes and continue?” Click . The Policy Builder is launched and the new Event Transformation policy is saved.
Right-click in the Policy Builder, then select
> or .Select
, then click .Edit the condition by double-clicking the
tab.Delete
in the field.Click the browse button to browse the Identity Vault for the part of the tree you were you want events to synchronize, then click
.Click
.Save the rule by clicking
> .The rule is used when you want to exclude part of the Identity Vault from synchronizing. It allows you synchronize some objects and not other objects, without using the Filter. When an event occurs anywhere but in that specific part of the Identity Vault, it is vetoed.
Excludes all events that occur in a specific subtree. Implement the rule on the Event Transformation policy in the driver. You can implement the rule on either the Subscriber or the Publisher channel or on both channels.
There are two steps involved in using the predefined rules: creating a policy in the Event Transformation policy set and importing the predefined rule. If you already have an Event Transformation policy that you want to add this rule to, skip to Importing the Predefined Rule.
From the
view or the view, select the Publisher or Subscriber channel.Select the Event Transformation policy set in Policy Set view, then click
to create a new policy.
Click
, then click .Name the policy.
Use the location that is populated to place the policy in the driver.
Select
, then click .Select
for the type of policy, then click .A file conflict window appears with the message “ Before editing this item you need to save. Do you wish to save the editor’s changes and continue?” Click . The Policy Builder is launched and the new Event Transformation policy is saved.
Right-click in the Policy Builder, then click
> .Select
, then click .Edit the condition by double-clicking the Conditions tab.
Delete
in the field.Click the browse button to browse the Identity Vault for the part of the tree where you want to exclude events from synchronizing, then click
.Click
.Save the rule by clicking
> .The rule is used when you want to exclude part of the Identity Vault from synchronizing. It allows you synchronize some objects and not other objects, without using the Filter. Anytime an event occurs in that specific part of the Identity Vault, it is vetoed.
Transforms the format of the telephone number when a desired condition is met. Implement the rule on the Input or Output Transformation policy in the driver. You can implement the rule on either the Subscriber or the Publisher channel or on both channels.
There are two steps involved in using the predefined rules: creating a policy in the Input or Output Transformation policy set and importing the predefined rule. If you already have an Input or Output Transformation policy that you want to add this rule to, skip to Importing the Predefined Rule.
From the
view or the view, select the Publisher or Subscriber channel.Select the Input or Output Transformation policy set in the Policy Set view, then click
to create a new policy.
Click
, then click .Name the policy.
Use the location that is populated to place the policy in the driver.
Select
, then click .Select
for the type of policy, then click .A file conflict window appears with the message “ Before editing this item you need to save. Do you wish to save the editor’s changes and continue?” Click . Policy Builder is launched and the new Input or Output Transformation policy is saved.
Right-click in the Policy Builder, then click
> or .Select
, then click .Edit the condition by double-clicking the
tab.Define the condition you want to have occur when the telephone number is reformatted.
Click
.Save the rule by clicking
> .The rule is used when you want to reformat the telephone number. You define the condition that is to be met when the telephone number is reformatted.
Transforms the format of the telephone number when a desired condition is met. Implement the rule on the Input or Output Transformation policy. You can implement the rule on either the Subscriber or the Publisher channel or on both channels.
There are two steps involved in using the predefined rules; creating a policy in the Input or Output Transformation policy set and importing the predefined rule. If you already have an Input or Output Transformation policy that you want to add this rule to, skip to Importing the Predefined Rule.
From the
view or the view, select the Publisher or Subscriber channel.Select the Input or Output Transformation policy set in the Policy Set view, then click
to create a new policy.
Click
, then click .Name the policy.
Use the location that is populated to place the policy in the driver.
Select
, then click .Select
for the type of policy, then click .A file conflict window appears with the message “ Before editing this item you need to save. Do you wish to save the editor’s changes and continue?” Click . Policy Builder is launched and the new Input or Output Transformation policy is saved.
Right-click in the Policy Builder and click
> or .Click I
, then click .Edit the condition by double-clicking the
tab.Define the condition you want to have occur when the telephone number is reformatted.
Click
.Save the rule by clicking
> .The rule is used when you want to reformat the telephone number. You define the condition that is to be met when the telephone number is reformatted.
Matches for objects in the Identity Vault by using the mirrored structure in the data store from a specified point. Implement the rule on the Matching policy in the driver. You can implement the rule only on the Publisher channel.
There are two steps involved in using the predefined rules: creating a policy in the Matching policy set and importing the predefined rule. If you already have a Matching policy that you want to add this rule to, skip to Importing the Predefined Rule.
From the
view or the view, select the Publisher channel.Select the Matching policy set in the Policy Set view, then click
to create a new policy.
Click
, then click .Name the policy.
Use the location that is populated to place the policy in the driver.
Select
, then click .Select
for the type of policy, then click .A file conflict window appears with the message “ Before editing this item you need to save. Do you wish to save the editor’s changes and continue?” Click . The Policy Builder is launched and the new Matching policy is saved.
Right-click in the Policy Builder, then click
> or .Select
, then click .Edit the condition by double-clicking the
tab.Delete
from the field.Browse to and select the container in the source hierarchy where you want the matching to start, then click
.Click
.Edit the action by double-clicking the
tab.Delete
from the field.Click the
to launch the Argument Builder.
Select
in the Noun list.Double-click
to add it to the argument.In the Editor, click the browse icon and browse to the container in the destination hierarchy where you want the source structure to be matched, then click
.Click
.Save the rule by clicking
> .Matches for objects in the Identity Vault by using the mirrored structure in the data store from a specified point. When an Add event occurs and the driver checks to see if the object exists, it starts checking at the specific DN in the data store. The driver then sets a local variable of dest-base to be the starting point in the Identity Vault that the structure is mirrored to in the data store. The driver then creates the context it is searching by adding the local variable of dest-base plus a \ and the source DN of the object. It creates the path it is looking for in the slash format.
Matches for objects in the data store by using the mirrored structure in the Identity Vault from a specified point. Implement the rule on the Matching policy in the driver. You can implement the rule only on the Subscriber channel.
There are two steps involved in using the predefined rules: creating a policy in the Matching policy set and importing the predefined rule. If you already have a Matching policy that you want to add this rule to, skip to Importing the Predefined Rule.
From the
view or the view, select the Publisher channel.Select the Matching policy set in the Policy Set view, then click
to create a new policy.
Click
, then click .Name the policy.
Use the location that is populated to place the policy in the driver.
Select
, then click .Select
for the type of policy, then click .A file conflict window appears with the message “ Before editing this item you need to save. Do you wish to save the editor’s changes and continue?” Click . The Policy Builder is launched and the new Matching policy is saved.
Right-click in the Policy Builder, then click
> or .Select
, then click .Edit the condition by double-clicking the
tab.Delete
from the field.Browse to and select the container in the source hierarchy where you want the matching to start, then click
.Click
.Edit the action by double-clicking the
tab.Delete
from the field.Click the
to launch the Argument Builder.
Select
in the list.Double-click
to add it to the argument.In the Editor, click the browse icon, browse to and select the container in the destination hierarchy where you want the source structure to be matched, then click
.Click
.Save the rule by clicking
> .Matches for objects in the data store by using the mirrored structure in the Identity Vault from a specified point. When an Add event occurs and the driver checks to see if the object exists, it starts checking at the specific DN in the Identity Vault. The driver then sets a local variable of dest-base to be the starting point in the data store that the structure is mirrored to in the Identity Vault. The driver then creates the context it is searching by adding the source DN of the object plus a, and the local variable of dest-base. It creates the path it is looking for in LDAP format.
Matches for objects by specific attribute values. Implement the rule on the Matching policy in the driver. You can implement the rule on either the Subscriber or the Publisher channel or on both channels.
There are two steps involved in using the predefined rules; creating a policy in the Matching policy set and importing the predefined rule. If you already have a Matching policy that you would like to add this rule to, skip to Importing the Predefined Rule.
From the Outline view or the Policy Flow view, select the Publisher channel.
Select the Matching policy set in the Policy Set view, then click
to create a new policy.
Click
, then click .Name the policy.
Use the location that is populated to place the policy in the driver.
Select
, then click .Select
for the type of policy, then click .A file conflict window appears with the message “ Before editing this item you need to save. Do you wish to save the editor’s changes and continue?” Click . The Policy Builder is launched and the new Matching policy is saved.
Right-click in the Policy Builder, then click
> or .Select
, then click .Edit the action by double-clicking the
tab.Delete
from the field.Click the
to launch the Argument Builder.
Select
in the list.Double-click
to add it to the argument.In the Editor, click the browse icon, then browse to and select the container where you want the search to start, then click
.Delete
from the .Click the
to launch the Match Attributes Builder.
Click the browse icon and select the attributes you want to match. You can select one or more attributes to match against, then click
.Click
.Save the rule by clicking
> .Matches for User objects by attributes. When a User object is synchronized, the driver uses the rule to check and see if the specified attributes exist. If they attributes do not exist, a new User object is created.
Places objects in the Identity Vault by using the mirrored structure in the data store from a specified point. Implement the rule on the Placement policy in the driver. You can implement the rule only on the Publisher channel.
There are two steps involved in using the predefined rules: creating a policy in the Placement policy set and importing the predefined rule. If you already have a Placement policy that you want to add this rule to, skip to Importing the Predefined Rule.
From the
view or the view, select the Publisher channel.Select the Placement policy set in the policy set, then click
to create a new policy.
Click
, then click .Name the policy.
Use the location that is populated to place the policy in the driver.
Select
, then click .Select
for the type of policy, then click .A file conflict window appears with the message “ Before editing this item you need to save. Do you wish to save the editor’s changes and continue?” Click . The Policy Builder is launched and the new Placement policy is saved.
Right-click in the Policy Builder, then click
> or .Select
, then click .Edit the condition by double-clicking the
tab.Delete
from the field.Browse to and select the container in the source hierarchy where you want the object to be acted upon, then click
.Edit the action by double-clicking the
tab.Delete
from the field.Click the
to launch the Argument Builder.
Select
in the list.Double-click
to add it to the argument.In the Editor, click the browse icon, browse to and select the container in the destination hierarchy where you want the object to be placed, then click
.Click
.Save the rule by clicking
> .If the User object resides in the source hierarchy, the object is placed in the mirrored structure from the data store. The placement starts at the point that the local variable dest-base is defined. It places the User object in the location of dest-base\unmatched source DN. The rule uses the slash format.
Places objects in the data store by using the mirrored structure in the Identity Vault from a specified point. Implement the rule on the Placement policy in the driver. You can implement the rule only on the Subscriber channel.
There are two steps involved in using the predefined rules: creating a policy in the Placement policy set and importing the predefined rule. If you already have a Placement policy that you want to add this rule to, skip to Importing the Predefined Rule.
From the
view or the view, select the Publisher channel.Select the Placement policy set in the Policy Set view, then click
to create a new policy.
Click
, then click .Name the policy.
Use the location that is populated to place the policy in the driver.
Select
, then click .Select
for the type of policy, then click .A file conflict window appears with the message “ Before editing this item you need to save. Do you wish to save the editor’s changes and continue?” Click . The Policy Builder is launched and the new Placement policy is saved.
Right-click in the Policy Builder, then click
> or .Select
format, then click .Edit the condition by double-clicking the
tab.Delete
from the field.Browse to the container in the source hierarchy where you want the object to be acted upon, then click
.Edit the action by double-clicking the
tab.Delete
from the field.Click the
to launch the Argument Builder.
Select
in the list.Double-click
to add it to the argument.In the Editor, click the browse icon and browse to the container in the destination hierarchy where you want the object to be placed, then click
.Click
.Save the rule by clicking
> .If the User object resides in the source hierarchy, then the object is placed in the mirrored structure from the Identity Vault. The placement starts at the point that the local variable dest-base is defined. It places the User object in the location of unmatched source DN, dest-base. The rule uses LDAP format.
Places objects from the data store into one container in the Identity Vault. Implement the rule on the Placement policy in the driver. You can implement the rule only on the Publisher channel.
There are two steps involved in using the predefined rules: creating a policy in the Placement policy set and importing the predefined rule. If you already have a Placement policy that you want to add this rule to, skip to Importing the Predefined Rule.
From the
view or the view, select the Publisher channel.Select the Placement policy set in the Policy Set view, then click
to create a new policy.
Click
, then click .Name the policy.
Use the location that is populated to place the policy in the driver.
Select
, then click .Select
for the type of policy, then click .A file conflict window appears with the message “ Before editing this item you need to save. Do you wish to save the editor’s changes and continue?” Click . The Policy Builder is launched and the new Placement policy is saved.
Right-click in the Policy Builder, then click
> or .Select
, then click .Edit the action by double-clicking the
tab.Delete
from the field.Click the
to launch the Argument Builder.
Select
in the list.Double-click
to add it to the argument.In the Editor, click the browse icon, then browse to and select the destination container where you want all of the User objects to be placed, then click
.Click
.Save the rule by clicking
> .The rule places all User objects in the destination DN. The rule sets the DN of the destination container as the local variable dest-base. The rule then sets the destination DN to be the dest-base\CN attribute. The CN attribute of the User object is the first two letters of the Given Name attribute plus the Surname attribute as lowercase. The rule uses slash format.
Places objects from the Identity Vault into one container in the data store. Implement the rule on the Subscriber Placement policy in the driver.
There are two steps involved in using the predefined rules: creating a policy in the Placement policy set and importing the predefined rule. If you already have a Placement policy that you want to add this rule to, skip to Importing the Predefined Rule.
From the
view or the view, select the Publisher channel.Select the Placement policy set in Policy Set view, then click
to create a new policy.
Click
, then click .Name the policy.
Use the location that is populated to place the policy in the driver.
Select
, then click .Select
for the type of policy, then click .A file conflict window appears with the message “ Before editing this item you need to save. Do you wish to save the editor’s changes and continue?” Click . The Policy Builder is launched and the new Placement policy is saved.
Right-click in the Policy Builder, then click
> or .Select
, then click .Edit the action by double-clicking the
tab.Delete
from the field.Click the
to launch the Argument Builder.
Select
in the list.Double-click
to add it to the argument.In the Editor, add the destination container where you want all of the User objects to be placed. Make sure the container is specified in LDAP format, then click
.Click
.Save the rule by clicking
> .The rule places all User objects in the destination DN. The rule sets the DN of the destination container as the local variable dest-base. The rule then sets the destination DN to be uid=unique name,dest-base. The uid attribute of the User object is the first two letters of the Given Name attribute plus the Surname attribute in lowercase. The rule uses LDAP format.
Places objects from one container in the data store into multiple containers in the Identity Vault. Implement the rule on the Placement policy in the driver. You can implement the rule only on the Publisher channel.
There are two steps involved in using the predefined rules: creating a policy in the Placement policy set and importing the predefined rule. If you already have a Placement policy that you want to add this rule to, skip to Importing the Predefined Rule.
From the
view or the view, select the Publisher channel.Select the Placement policy set in the Policy Set view, then click
to create a new policy.
Click
, then click .Name the policy.
Use the location that is populated to place the policy in the driver.
Select
, then click .Select
for the type of policy, then click .A file conflict window appears with the message “ Before editing this item you need to save. Do you wish to save the editor’s changes and continue?” Click . The Policy Builder is launched and the new Placement policy is saved.
Right-click in Policy Builder, then click
> or .Select
, then click .Edit the action by double-clicking the
tab.Delete
from the .Click the
to launch the Argument Builder.
Select
in the list.Double-click
to add it to the argument.In the Editor, click the browse icon, then browse to and select the parent container in the Identity Vault. Make sure all of the department containers are child containers of this DN, then click
.Click
.Save the rule by clicking
> .The rule places User objects in proper department containers depending upon what value is stored in the OU attribute. If a User object needs to be placed and has the OU attribute available, then the User object is placed in the dest-base\value of OU attribute\CN attribute.
The dest-base is a local variable. The DN must be the relative root path of the department containers. It can be an organization or an organizational unit. The value stored in the OU attribute must be the name of a child container of the dest-base local variable.
The child containers must be associated for the user objects to be placed. The value of the OU attribute must be the name of the child container. If the OU attribute is not present, this rule is not executed.
The CN attribute of the User object is the first two letters of the Given Name attribute plus the Surname attribute in lowercase. The rule uses slash format.
Places objects from one container in the Identity Vault into multiple containers in the data store based on the OU attribute. Implement the rule on the Placement policy in the driver. You can implement the rule only on the Subscriber channel.
There are two steps involved in using the predefined rules: creating a policy in the Placement policy set and importing the predefined rule. If you already have a Placement policy that you want to add this rule to, skip to Importing the Predefined Rule.
From the Outline view or the Policy Flow view, select the Publisher channel.
Select the Placement policy set in the Policy Set view, then click
to create a new policy.
Click
, then click .Name the policy.
Use the location that is populated to place the policy in the driver.
Select
, then click .Select
for the type of policy, then click .A file conflict window appears with the message “ Before editing this item you need to save. Do you wish to save the editor’s changes and continue?” Click . The Policy Builder is launched and the new Placement policy is saved.
Right-click in the Policy Builder, then click
> or .Select
, then click .Edit the action by double-clicking the
tab.Delete
from the field.Click the
to launch the Argument Builder.
Select
in the list.Double-click
to add it to the argument.In the Editor, add the parent container in the data store. The parent container must be specified in LDAP format. Make sure all of the department containers are child containers of this DN, then click
.Click
.Save the rule by clicking
> .The rule places User objects in proper department containers depending upon what value is stored in the OU attribute. If a User object needs to be placed and has the OU attribute available, then the User object is placed in the uid=unique name,ou=value of OU attribute,dest-base.
The dest-base is a local variable. The DN must be the relative root path of the department containers. It can be an organization or an organizational unit. The value stored in the OU attribute must be the name of a child container of the dest-base local variable.
The child containers must be associated for the User objects to be placed. The value of the OU attribute must be the name of the child container. If the OU attribute is not present, then this rule is not executed.
The uid attribute of the User object is the first two letters of the Given Name attribute plus the Surname attribute as lowercase. The rule uses LDAP format.
The Policy Simulator allows you to execute a policy at any point in the flow of the driver and see the results without implementing the policy in the Identity Vault. You can test the policies without affecting the production environment or the connected system.
For more information about common tasks with the Policy Simulator, see the following sections:
The Policy Simulator uses XML. The eDirectory document type definition file ( nds.dtd) defines the schema of the XML documents that the Metadirectory engine can process. XML documents that do not conform to this schema generate errors. To verify whether the document conforms to the nds.dtd and find information about why errors are occurring, see eDirectory DTD Commands and Events.
The Policy Simulator cannot simulate the initial policy sets from application drivers such as SOAP and Delimited text. These drivers use comma-separated files or text files as input, and the XML or XDS is derived from policies in the policy chain. Currently, the Policy Simulator only accepts valid XML or XDS as input. Additional functionality is being considered for future releases.
The Policy Simulator can be accessed in three different ways:
Click the
.
Right-click the driver, publisher, subscriber, mapping rule, filter, or any policy you want to simulate, then click
.Click the
.
Right-click the input, output, schemaMapping, filter, and any policy set icons you want to simulate, then click
.You can access the Policy Simulator through the Policy Builder, the Schema Mapping editor, or the Filter editor by selecting the
in the toolbar of each editor.
The Policy Simulator allows you to select a point in the driver flow to test the policy with a specific operation. It allows you to edit the input and output documents while you are testing. If you want to keep the changes, select the
icon to save the document as an XML file.To use the Policy Simulator:
From the Simulation Point drop-down list, select the place in the driver flow that you want to test the policy. You can select the any of the following items: Publisher Channel, Subscriber Channel, Input, Schema Mapping, Event, Sync Filter, Matching, Creation, Placement, Command and Notify Filter.
If you select a specific policy or rule to test, the Simulation Point option only shows
or .Select
, then browse to and select a file to test.Designer comes with sample event files you can use. The files are located in the plug-in com.novell.designer.idm.policy\simulation. The event are Add, Association, Delete Instance, Modify, Move, Query, Rename and Status.
Double-click a folder and to display the available events. Each event has different files you can select. For example, if you select Organization.xml, OrganizationalUnit.xml, and User.xml. The file indicates the event. If you select User.xml, it is an Add event for a user object.
, you have three options:Select a file, then click
to display the input document in the window.Click
.Select the
tab to see the results of the event as the policy was processed. The information in this window is the same information that you see in DSTRACE.Select the
tab to see the output document that was generated.Select the
tab to compare the output document to the input document.When you are finished looking at the results, click
to test another event against the policy.When you are finished testing, click
to close the Policy Simulator.Policies that contain references to external Java extensions can now be simulated by specifying the directory where the jar file is located.
To determine or change the extension directory:
Select
from the tool bar.Navigate to the
page.Copy the jar file containing the Java class to the specified directory and simulate the policy.
NOTE:The
option enables the Policy Simulator to test the policies against a live Identity Vault or the connected systems. This option is not supported in Designer 1.2 and is not documented.Designer enables you to view, edit, and validate the XML by using an XML editor or text editor.
You can view the XML Source in XML or in the XML tree format.
To open the XML Source view:
Click
at the bottom of the Policy Builder's workspace.The XML editor displays line numbers.
To see the line number, right-click in the left margin, then select
.The XML editor expands or collapses the XML by function. If there are functions that contain a large amount of XML, you can collapse the XML by clicking the minus icon in the top left corner.
To expand all of the XML functions, click the plus icon in the left corner.
Each element has its own plus or minus icon in the left margin.
To view the XML in the tree format:
Click
at the bottom of the Policy Builder's workspace.To see the entire tree view, expand each item listed.
You can edit the XML through the XML editor. You can make changes here as well as through the GUI interface.
Figure 2-12 Editing the XML Source
The default editor that is loaded is associated to .xml file types. If a default editor can't be found, the system text editor is loaded. The functionality of the XML Source view is based on the editor that loads.
Right-click to display the list of the functions the XML editor contains.
Table 2-5 XML Editor Options
To select a different XML editor for your Source view:
From the
menu, select > .Select
> > .Select
from the list under .Select the editor you want (for example,
) in the Associated editors pane. (If the editor you want isn't in the list, you can click , then add it to the list.)Click
.Close and reopen the Policy Builder.
The XML editor validates the XML code. Right-click, then select
. If there are errors, a red x is displayed on the line where the error occurs. An explanation at the bottom of the window gives more information about the problem.Figure 2-13 Validating the XML Source
In this example, the end tag for if-operation has no matching start tag.