Designer comes with an Entitlement Wizard. This wizard steps you through the creation of entitlements by asking a series of questions about how the entitlement will be used in the enterprise. Use one of the following methods to access the Entitlement Wizard:
To access the Entitlement Wizard from the Outline view, right-click a Driver object, then click
.Figure 12-3 Adding an Entitlement through the Outline View
To access the Entitlement Wizard from the Modeler view, right-click the driver icon, then click
.There are two types of entitlements that you can create: valueless and valued. The type you use depends on whether you need to pass additional information to the policies.
A valueless entitlement has no values to go with it. An example is the Account Entitlement for Active Directory, which is used to turn on account capabilities. You use valueless entitlements if you don’t need to pass any extra information to driver policies.
To create a valueless entitlement:
Right-click the driver icon in the Outline view or in the Modeler view, then click
.Type the name and description information. For this example, the entitlement is named Account, with a description of “This is an Account Entitlement.” Click
.Because this first example is valueless, select
toClick
.In the Add To Filter dialog box, answer
if you want the driver to listen for this entitlement. This enables entitlements for the driver.The DirXML-EntitlementRef attribute allows the driver filter to listen for entitlement activities. This is necessary in order to use the entitlements you are creating.
If you don’t want to see the Add To Filter window on every entitlement you are creating for any driver in Designer, select
, then click . However, after the attribute is added to this driver filter, you won’t see the Add To Filter window again.If you have a file conflict, you are asked to save the editor’s changes before continuing. Once the editor is saved, the entitlement displays in the Modeler view.
Values are a way of passing data that you might need to use in policies. Valued entitlements can get their values from an external query; they can be administrator-defined, or they can be free-form.
Right-click the driver icon in the Outline view or in the Modeler view, then click
.Give the entitlement a name. This example uses Application Query, with the Looks for the Class name of Groupx, then click .
option selected. In the Description box, typeOn the Set Entitlements Values page, select
so you can query values from an application or define a group of values, then click .The next Set Entitlements Values page allows you to define where you get the values for this entitlement. Valued entitlements can get their values from an external query, or they can be administrator-defined. For this example, select the
option, then click .The Define Application Query window combines two steps: defining the query and mapping the query results.
To fill in the Class Query, click the
button on the right side of the Class entry.The Schema Browser shows you the Classes in the eDirectory namespace that are available. If you know the name of the Class type you want to query, click to select a selection in the
tab, then start typing the Class name. The browser jumps to the alphabetical order of what you type. Select the Class name, then click .Type the base distinguished name (DN) and the scope. For this example, select the Class Group, at the Base Distinguished Name of Blanston, with the Scope of subtree (choices are subtree, entry, and subordinates).
This example maps the query results from the connected system to certain values that entitlement consumers can use. At present, the consumers are iManager managing Role-Based Entitlement policies and the User Application managing workflow-based provisioning entitlements. The
information pre-populates the consumer’s user interface with the following:Display Name: Defines the attribute that displays in the list of values. The example selects Source Distinguished Name for the display name. Click the drop-down button on the
list to see a list of Attributes associated with the class you selected through the Schema Browser. The list includes both the Attributes and the Inherited Attributes for the selected class.Description: Defines the attribute that displays as a description for that value. For the description, select
from the Value drop-down list to map the query results from the connected system to the entitlement.Value: Defines the attribute or token that is the actual value. The
entry is not seen in the entitlement consumer, but it is the value that is assigned when the entitlement is granted or revoked. In this case, choose .If you do not use the
button when selecting the class, you see only two selections in the lists: and . If these attributes suit your needs, use them. You can also type the attribute name into the text field. However, if you want to select the attributes from the lists, use the button when selecting a class for the query. You see the attributes and inherited attributes for the selected class.When the values are filled out, select
.In the Assign Multiple Values window, select
if you want the entitlements to be granted more than once and with different values. If you select , the entitlement can only be granted once. For this example, click , then click .It makes sense to assign group entitlements with multiple values, but it would not make sense to assign an account entitlement more than once.
You are asked if this entitlement is intended to be used by Role-Based Entitlement policies through iManager. If you want this entitlement to be granted or revoked automatically, select
to the Role-Based Entitlements question, click , then continue with Step 11.or
If you want the granting or revoking of this entitlement to be a manual process (approved by someone), select Step 12.
to use the User Application, then skip toWe recommend that you have only one agent control an entitlement. If multiple agents are in control, you have the following consequences:
Whoever comes last controls the entitlement results
Results are unpredictable
Using both agents to control an entitlement is not supported by Novell
(Conditional) If you select
to the Role-Based Entitlements question, you are asked if you want to use the Role-Based Entitlements priority to resolve any conflicts that might happen when this entitlement is assigned more than once with different values. You can resolve the conflict by either using Role-Based Entitlements priority, or by merging the values.Merging the values merges the entitlements of all involved Role-Based Entitlement policies, so if one policy revokes an entitlement but another policy grants an entitlement, the entitlement is eventually granted. Solving conflicts by priority works if you need to ensure that only one policy is applied to this entitlement at any time. This example uses priority.
Click
.For this example, the query values look for the Source Distinguished Name attribute of the Class name of Group, starting from the Base DN (Blanston) and checking through the subtree from that beginning point. The values that come back from the query are similar to the following:
<instance class-name="Group" src-dn="o=Blanston,cn=group1"> <association>o=Blanston,cn=group1</association> <attr attr-name="Description"> the description for group1</attr> </instance> <instance class-name="Group" src-dn="o=Blanston,cn=group2"> <association>o=Blanston,cn=group2</association> <attr attr-name="Description"> the description for group2</attr> </instance> <instance class-name="Group" src-dn="o=Blanston,cn=group3"> <association>o=Blanston, cn=group3</association> <attr attr-name="Description"> the description for group3</attr> </instance> <!-- ... ->
The information received from the query fills in the various fields. For instance, the <display-name> field receives o=Blanston,cn=group1. The <description> field receives the description for Group1, and the <ent-value> field receives o=Blanston,cn=group1. Because more than one group exists and meets the query criteria, this information is also collected and shown as other instances of the query.
The association format value is unique for every external system, so the format and syntax are different for each external system queried.
In the Add To Filter window, click
if you want the driver to listen for this entitlement. This enables entitlements for the driver.The DirXML-EntitlementRef attribute allows the driver filter to listen for entitlement activities. This is necessary in order to use the entitlements you are creating.
If you don’t want to see the Add To Filter window on entitlements you are creating for any driver in Designer, select
, then click . However, after the attribute is added to this driver filter, you won’t see the Add To Filter window again.If you have a file conflict, you are asked to save the editor’s changes before continuing. Once the editor is saved, the entitlement displays in the Modeler view.
The example in the following procedure is an administrator-defined entitlement that allows you to select a listed entry. This type of entitlement is best used through Workflow entitlements rather than Role-Based Entitlements.
Right-click the driver icon in the Outline view or the Modeler view, then click
.In this example, the entitlement name is Admin-defined, but the defined display name is Admin-defined Entitlement. You need to define a display name only if you want the display name to be different from the name you called the entitlement; otherwise, you can just use the entitlement name as the display name. In this example, the
field is defined as .Click
.In the Set Entitlement Values window, select
to the question “Do you want this entitlement to include values?” Click .In the next Set Entitlement Values window, select
, then click .In the Define Values window, type the values you want to add to the Entitlement Value entry, click
to add the value to the Defined List pane, then click .In this example, the values are corporate buildings: Building A through Building D. Through an entitlement client, such as an iManager Role-Based Entitlement task or through the user application, users or defined-task managers can specify the building information, which is then included in an external application, such as Novell eDirectory.
Use the
button to remove a value, or use the button to edit a value.In the Assign Multiple Values window, select
if you want the entitlements to be granted more than once and with different values. If you select , the entitlement can only be granted once. For the example, click , then click .It makes sense to assign group entitlements with multiple values, but it does not make sense to assign building letters more than once.
You are asked if this entitlement is intended to be used by Role-Based Entitlement policies through iManager. If you want this entitlement to be granted or revoked automatically, select Step 8.
to the Role-Based Entitlements question, click , then continue withor
If you want the granting or revoking of this entitlement to be a manual process (approved by someone), select Step 9.
to use the User Application, then skip toWe recommend that you have only one agent control an entitlement. If multiple agents are in control, you have the following consequences:
Whoever comes last controls the entitlement results
Results are unpredictable
Using both agents to control an entitlement is not supported by Novell
(Conditional) If you select
to the Role-Based Entitlements question, you are asked if you want to use the Role-Based Entitlements priority to resolve any conflicts that might happen when this entitlement is assigned by different Role-Based Entitlement Policies with different values. You can resolve the conflict by either using the Role-Based Entitlements priority, or by merging the values. This example merges the values.Merging the values merges the entitlements of all involved Role-Based Entitlement policies, so if one policy revokes an entitlement but another policy grants an entitlement, the entitlement is eventually granted. Solving conflicts by priority works if you need to ensure that only one policy is applied to this entitlement at any time.
Click
.If you see the Add To Filter window, answer
if you want the driver to listen for this entitlement. This enables entitlements for the driver. The DirXML-EntitlementRef attribute allows the driver filter to listen for entitlement activities, which is necessary in order to use the entitlements you are creating.Or
If you don’t want to see the Add To Filter window on entitlements you are creating for any driver in Designer, select
, then click . However, after the attribute is added to this driver filter, you won’t see the Add To Filter window again.Before you can edit this entitlement, you are asked to save the editor’s changes before continuing. Once the editor is saved, the entitlement displays in the Modeler view.
The example in the following procedure is an administrator-defined entitlement that forces the administrator to type a value. You can use this kind of entitlement if you do not have all of the information at the initial setup, so you cannot create a task list.
Right-click the driver icon in the Outline view or the Modeler view, then click
.In this example, the entitlement name is
, and it uses the entitlement name as the displayed name because the option is selected.Click
.Select
on the Set Entitlement Values page, then click .Select
on the second Set Entitlement Values page, then click .Select
to the question “Do you want to define a list of values?” on the Define Values page, then click .Selecting this option allows the administrator or users to type in a value. Using this option can be risky however since wrong or mispelled information can cause the vaule to be incorrect and the action in the entitlement to fail.
Select
to the question “Allow this entitlement to be assigned multiple times with different values?” on the Assign Multiple Values page, then click .You are asked if this entitlement is intended to be used by Role-Based Entitlement policies through iManager. If you want this entitlement to be granted or revoked automatically, select Step 8.
to the Role-Based Entitlements question, click , then continue withor
If you want the granting or revoking of this entitlement to be a manual process (approved by someone), select Step 9.
to use the User Application, then skip toWe recommend that you have only one agent control an entitlement. If multiple agents are in control, you have the following consequences:
Whoever comes last controls the entitlement results
Results are unpredictable
Using both agents to control an entitlement is not supported by Novell
(Conditional) If you select
to the Role-Based Entitlements question, you are asked if you want to use the Role-Based Entitlements priority to resolve any conflicts that might happen when this entitlement is assigned by different Role-Based Entitlement Policies with different values. You can resolve the conflict by either using the Role-Based Entitlements priority, or by merging the values. This example uses priority.Merging the values merges the entitlements of all involved Role-Based Entitlement policies, so if one policy revokes an entitlement but another policy grants an entitlement, the entitlement is eventually granted. Solving conflicts by priority works if you need to ensure that only one policy is applied to this entitlement at any time.
Click
.If you see the Add To Filter window, answer
if you want the driver to listen for this entitlement. This enables entitlements for the driver. The DirXML-EntitlementRef attribute allows the driver filter to listen for entitlement activities, which is necessary in order to use the entitlements you are creating.or
If you don’t want to see the Add To Filter window on entitlements you are creating for any driver in Designer, select
, then click . However, after the attribute is added to this driver filter, you won’t see the Add To Filter window again.Before you can edit this entitlement, you are asked to save the editor’s changes before continuing. Once the editor is saved, the entitlement displays in the Modeler view.