Optional. If you want your utility task to be reusable, select Persistent Instance,

Developing Adapters 2-27 13. Optional. Repeat steps 3 through 12 to create additional utility tasks for the adapter. You are now ready to compile the adapter, so it can be used with a process task or form field.

14. To compile the adapter, click Build.

The text in the Compile Status field changes from Recompile to OK. This indicates that Oracle Identity Manager compiled the adapter and did not find any errors. You can now attach the adapter to a process task or form field.

2.8.6 To Create an Oracle Identity Manager API Task

For greater portability of the adapter code, an Oracle Identity Manager API task enables Adapter tasks to call APIs published by Oracle Identity Manager. This is better than accessing Oracle Identity Manager data directly through hardcoded SQL statements. The Adapter Factory is shipped with a library of utility classes and methods, which increase the efficiency of developing adapters that contain Oracle Identity Manager API tasks. These utility classes and methods are contained within the xlAPI.jar file. To create this type of adapter task:

1. Select the adapter to which you wish to add an Oracle Identity Manager API task,

for example, the Get Users Password adapter.

2. Click the Adapter Tasks tab.

3. Click Add.

The Adapter Task Selection window is displayed.

4. Select the Utility Task option.

5. From the display area to the right of the option, select Xellerate API, and click

Continue . The Object Instance Selection window is displayed.

6. Click Continue. The Add an Adapter Factory Task window is displayed.

7. In the Task Name field, enter the name of the Oracle Identity Manager API task you are creating, for example, Retrieve Password. 8. Optional. If you want your Oracle Identity Manager API task to be reusable, select Persistent Instance. Then, type the name of the instance of this task in the text field to the right of the check box. See Also: Oracle Fusion Middleware Java API Reference for Oracle Identity Manager for more information about the class files that contain the xlUtils.jar, xlAPI.jar, xlIntegration.jar, and rt.jar files See Also: Creating a Java Task on page 2-17 to learn more about this window Tip: Ensure that name of the instance contains no spaces.