To enable the adapter to automate a process task, select Process Task T.

Developing Adapters 2-11

6. Select the type of adapter you want, for example, Process Task T. Then, click OK.

7. In the Description field, type a description for the adapter, for example, This adapter is used to create a new user for the Solaris environment .

8. From the toolbar, click Save.

The adapter is now stored in the Oracle Identity Manager database.

2.5 Tabs of the Adapter Factory Form

The Adapter Factory form in the Design Console contains the following tabs: ■ Adapter Tasks ■ Execution Schedule ■ Resources ■ Variable List ■ Usage Lookup ■ Responses

2.5.1 Adapter Tasks

In the Adapter Tasks tab, you can create and manage the atomic function calls of an adapter. These function calls are known as adapter tasks. The sequence of calls is vital because these calls in turn gets converted into Java statements. In other words, if you put an Else call before an If call, then the adapter is not compiled. In addition, you must understand the logical flow of java program while creating adapter. Analogically, this is like writing an algorithm instead of a program with Java syntax.

2.5.2 Execution Schedule

The Execution Schedule tab lets you specify when you want Oracle Identity Manager to trigger a rule generator or an entity adapter. You can schedule Oracle Identity Manager to run a rule generator Adapter Type R on preinsert andor preupdate. You can also configure Oracle Identity Manager to execute an entity adapter Adapter Type E on preinsert, preupdate, predelete, postinsert, postupdate, or postdelete. Tip: If you create an entity adapter, then an error might be generated while compiling the adapter on computers with less file limits. To avoid this problem, change the file limits in the etcsecuritylimits.conf file to the following: soft nofile 4096 hard nofile 4096 Then, restart Oracle Identity Manager. See Also: Form Designer Form on page 13-1 for more information about the Form Designer form 2-12 Oracle Fusion Middleware Developers Guide for Oracle Identity Manager

2.5.3 Resources

From the Resources tab, you can: ■ Click the Java APIs subtab to see the Java APIs that are being used by the adapter. ■ Click the Other subtab to document a non-Java API file to the adapter, if necessary.

2.5.4 Variable List

For prepopulation adapters, the data is passed to adapter input variables and are processed by using adapter logic. The adapter returns output variable, which is then assigned to process form field. From the Variable List tab, you can: ■ Create, modify, and delete adapter variables. ■ Set the data type and provide a description for each variable. ■ Map an adapter variable to a literal or an adapter reference. You can also postpone the mapping until it is attached to a process task or a form field. You also can resolve the value of the adapter variable at run time, when it is attached to a process task and the process task is run. As a result, process-specific data is available to map to this variable.

2.5.5 Usage Lookup

For a process task or task assignment adapter, the Usage Lookup tab displays the process task to which the adapter is attached, as well as the process of which this process task is a member. For a rule generator or entity adapter, this tab shows the Oracle Identity Manager form and associated data object to which the adapter is attached. In addition, it displays the execution schedule of the adapter, along with a sequence number that represents the order in which Oracle Identity Manager will trigger the adapter. For a pre-populate adapter, this tab displays the user-defined form and form field to which the adapter is attached. Also, it shows the pre-populate rule that is associated with the adapter. Caution: Process task adapters and task assignment adapters, which are attached to process tasks, are triggered once the process tasks status becomes Pending. Therefore, you do not specify when Oracle Identity Manager will trigger these types of adapters, Oracle Identity Manager disables the Execution Schedule tab for them. Also, because Oracle Identity Manager always triggers pre-populate adapters on preinsert, Oracle Identity Manager disables the check boxes of this tab for pre-populate adapters. Note: This Resources tab does not represent resource objects.