Log in to the Oracle Identity Manager Design Console. Log in to the Oracle Identity Manager Design Console. Click Form Designer under Development Tools. Create a new form with the Table Name UD_FLAT_FIL as illustrated in

Developing Identity Connectors 17-25 5. Click the Properties tab. 6. Add the following properties to ServerITResourceLookupField as illustrated in Figure 17–6 . ■ Required = true ■ Type = Flat File Figure 17–6 Properties of Form Designer in Design Console 7. Save the form. 8. Click Make Version Active. UD_FLAT_FIL_UID String Universal ID TextField UD_FLAT_FIL_CHANGENO String Change Number TextField UD_FLAT_FIL_MAILID String Email ID TextField UD_FLAT_FIL_SERVER long Server ITResource UD_FLAT_FIL_LASTNAME String Last Name TextField UD_FLAT_FIL_ACCOUNTID String Account ID TextField UD_FLAT_FIL_RETURN String Return ID TextField Note: The flat file column names are FirstName, ChangeNo, EmailID, Server, LastName, and AccountID. Table 17–1 Cont. Form Designer Fields Name Variant Field Label Field Type 17-26 Oracle Fusion Middleware Developers Guide for Oracle Identity Manager

17.2.3.2 Creating Adapters

An adapter has to be created for all operations supported by the connector bundle, including Create, Update, and Delete.

1. Log in to the Oracle Identity Manager Design Console.

2. Click Adapter Factory under Development Tools.

3. Create a new adapter and add FFCreateUser as the Adapter Name.

4. Add Process Task as the Adapter Type.

5. Save the adapter.

6. Click the Variable List tab and add the following variables, as shown in

Figure 17–7 . ■ objectType with Type String and Mapped as Resolve at runtime. ■ processInstanceKey with Type long and Mapped as Resolve at runtime. ■ itResourceFieldName with Type String and Mapped as Resolve at runtime. Figure 17–7 Adapter Factory Variable List in Design Console 7. Add a Java functional task to the adapter by following this sub procedure, as shown in Figure 17–8 . a. Click the Adapter Tasks tab. b. Select the adapter and click Add. c. Select Java from the task options.

d. Select icf-oim-intg.jar from the API source.

e. Select oracle.iam.connetors.icfcommon.prov.ICProvisioninManager as the API Source.

f. Select createObject as the method for the task.

Developing Identity Connectors 17-27 g. Save the configurations. h. Map the variables previously added to the Variables List against the appropriate method inputs and outputs. i. Map the configuration parameters against the appropriate method inputs and outputs. Database Reference maps to Database Reference Adapter References and Return Variable maps to Return Variable Adapter Variables. Figure 17–8 Adapter Factory in Design Console 8. Save and build the adapter.

17.2.3.3 Creating A Process Definition

Process Definition defines the behavior of the connector bundle for a particular operation. Every operation has a corresponding task associated with it. This procedure will configure the process definition and integration of the process task for the Create operation. 1. Log in to the Oracle Identity Manager Design Console. 2. Click Process Definition under the Process Management tab. 3. Create a new process definition and name it Flat File as illustrated in Figure 17–9 . 17-28 Oracle Fusion Middleware Developers Guide for Oracle Identity Manager Figure 17–9 Process Definition in Design Console 4. Select Provisioning as the Type of process. 5. Provide the resource Object Name for the identity connector; in this example, FLATFILERO. 6. Provide the process form Table Name; in this example, UD_FLAT_FIL. 7. Add a process task and name it Create User.

8. Double click Create User to edit as illustrated in

Figure 17–10 . Figure 17–10 Editing Task Screen in Design Console Developing Identity Connectors 17-29

9. Click the Integration tab.

10. Click Add and select the FFCreateUser adapter from the list as illustrated in Figure 17–11 . The adapter will be available only after it is compiled. Figure 17–11 Integration Tab in Design Console 11. Map the variables as follows to set the response code returned by the identity connector. ■ Adapter Return Variable – Response Code ■ Object Type – [Literal:String] User Name of the object type ■ Process Instance Key – [Process Data] Process Instance ■ IT Resource Field Name – [Literal:String] UD_FLAT_FIL_SERVER Form field name that contains the IT resource information 12. Click the Responses tab and configure the responses as illustrated in Figure 17–12 . ■ UNKNOWN can be described as Unknown response received with a status of R Rejected. ■ SUCCESS can be described as Operation completed with a status of C Completed. ■ ERROR can be described as Error occurred with a status of R.