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

2-28 Oracle Fusion Middleware Developers Guide for Oracle Identity Manager 9. Click the Application API list. The class files appear, which belong to the xlAPI.jar file. 10. From the Add an Adapter Factory Task window, select a class file, constructor, and method. Then, set the mappings for the parameters of the constructor and method.

11. From the Add an Adapter Factory Task windows toolbar, click Save. The

information pertaining to the Oracle Identity Manager API task is stored in the Oracle Identity Manager database.

12. Close the Add an Adapter Factory window to activate the main screen. The Oracle

Identity Manager API task that you created—for example, Retrieve Password—appears within the Adapter Factory form.

13. Optional. To create additional Oracle Identity Manager API tasks for the adapter,

repeat steps 3 through 12. 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, so Oracle Identity Manager can communicate with a third-party application.

2.8.7 Reassigning the Value of an Adapter Variable

Sometimes, for an adapter to accomplish its required objective, you must reassign the value of one adapter variable to another adapter variable, a different type of adapter task, or a constant or literal. The task that enables you to reallocate an adapter variable value is known as a set variable task. For example, you can create a set variable task to set the adapter variable return value to equal the output of an adapter task UserName if the User ID length is fewer than 11 characters. To create a set variable task: See Also: Creating a Java Task on page 2-17 for more information about the regions of the Add an Adapter Factory Task window Configuring the Adapter Environment on page 2-7 to learn how to enable Oracle Identity Manager to use third-party JAR files with a Java task Note: The xlAPI.jar file contains all of the class files that you can use for an Oracle Identity Manager API task. Therefore, you do not have to access the API Source list. See Also: Adapter Mapping Information on page 3-19 for more information about which mappings to select See Also: About Adapter Variables on page 2-13 for information about adapter variables