7.1 Library Objects

Library objects store multiple policies and other resources that are shared by one or more drivers. A library object can be created in a driver set object or any eDirectory™ container. Multiple libraries can exist in an eDirectory tree. Drivers can reference any library in the tree as long as the server that is running the driver holds a Read/Write or Master replica of the library object.

Style sheets, policies, rules, and other resource objects can be stored in a library and be referenced by one or more drivers.

7.1.1 Managing Libraries

You can create, delete, and search for existing libraries in iManager.

Creating a Library

  1. In iManager, select Identity Manager > Identity Manager Overview.

  2. Click Search to search for all driver sets in the tree.

  3. Click Library objects in the Identity Manager Overview.

    Library object in the Identity Manager Overview page
  4. Click New.

    Library management
  5. Specify a name for the library.

  6. Browse to and select the container where you want the library created.

  7. Click OK.

    Creating a library object

Deleting a Library

  1. In iManager, select Identity Manager > Identity Manager Overview.

  2. Click Search to search for all driver sets in the tree.

  3. Click Library objects in the Identity Manager Overview.

    Library object in the Identity Manager Overview page
  4. Select the library you want to delete, then click Delete.

  5. Click Yes to confirm the deletion.

Searching for Existing Libraries

  1. In iManager, select Identity Manager > Identity Manager Overview.

  2. Click Search to search for all driver sets in the tree.

  3. Click Library objects in the Identity Manager Overview.

    Library object in the Identity Manager Overview page
  4. Browse to and select the container where you want to start the search.

  5. Click the arrow icon to perform the search.

    Library Management

7.1.2 Adding Objects to the Library

You can add policies, mapping tables, and Credential Provisioning policy resource objects to a library.

Adding Policies to the Library

  1. In iManager, select Identity Manager > Identity Manager Overview.

  2. Click Search to search for all driver sets in the tree.

  3. Click Library objects in the Identity Manager Overview.

    Library object in the Identity Manager Overview page
  4. Click the library you want to add a policy to.

    Library Management
  5. Click the Policies tab, then click the plus icon to add a policy to the library.

    Adding a library object
  6. Specify the name for the policy.

  7. Select how to implement the policy, then click OK.

    Creating a policy
    1. If you select Policy Builder, XSLT, or ECMAScript the object is created and displayed in the library. Each object must be edited to add the policy information into the object.

    2. If you select Make a copy from an existing policy, browse to and select the policy to store in the library.

Adding a Mapping Table to a Library

  1. In iManager, select Identity Manager > Identity Manager Overview.

  2. Click Search to search for all driver sets in the tree.

  3. Click Library objects in the Identity Manager Overview.

    Library object in the Identity Manager Overview page
  4. Click the library you want to add a mapping table to.

    Library Management
  5. Click the Mapping Tables tab, then click Insert to add a mapping table to the library.

    Adding a mapping table object to a library
  6. Specify the name for the mapping table.

  7. Browse and select the library where the mapping table will be created.

  8. Click OK.

  9. Click the Add Column icon.

  10. Specify a value for the column, then select whether the value is case sensitive, case insensitive, or numeric.

  11. Click the Add Row icon.

  12. Specify a value for the row.

  13. Click Apply to save the mapping table and continue working in the editor

    or

    Click OK to save the mapping table and close the editor.

For more information about mapping tables, see Section 7.2, Mapping Table Objects.

Adding Credential Provisioning Policy Resource Objects to a Library

  1. In iManager, select Identity Manager > Identity Manager Overview.

  2. Click Search to search for all driver sets in the tree.

  3. Click Library objects in the Identity Manager Overview.

    Library object in the Identity Manager Overview page
  4. Click the library you want to add a Credential Provisioning policy resource object to.

    Library Management
  5. Click the Credential Provisioning tab.

  6. Click Repositories, then click New to add a new repository object to the library.

    or

    Click Applications, then click New to add a new application object to the library.

    Adding a repository or application object to a library

7.1.3 Using a Policy Stored in the Library

The library object stores information that is used multiple times. It can be used by multiple drivers or by the same driver multiple times. To use the policy stored in the library:

  1. In iManager, select Identity Manager > Identity Manager Overview.

  2. Click Search to search for all driver sets in the tree.

  3. Browse to and click the driver where you want to use the stored policy in the library.

  4. Select the policy where you want to use the stored information, click Insert to create a policy, then proceed to Step 5.

    or

    click Edit to add the policy to an existing policy, then skip to Step 8.

  5. Select Use an existing policy.

  6. Browse to and select the policy that is stored in the library, then click OK.

  7. Click Close.

  8. Click Insert > Append a reference to a policy containing DirXML Script.

  9. Browse to and select the policy that is stored in the library, then click OK twice.

  10. Click Close.