Creating Database Adapters Oracle Fusion Middleware Online Documentation Library

Creating and Configuring Oracle Virtual Directory Adapters 12-17 a. In the JDBC Driver Class field, enter the JDBC driver class name for the database. b. In the Database URL field, enter the URL that Oracle Virtual Directory should use to access the database. c. In the Database User field, enter the user name that the Database Adapter should use to connect the database. d. In the Password field, enter the password for the user name you entered in the Database User field. Oracle Virtual Directory replaces the value you enter in this field with a reversible masked value upon startup.

e. Click Next. The Map Database Tables screen appears. Continue this

procedure by going to step 7 now. 7. Identify the database tables the Database Adapter should use in the Map Database Tables field by entering the name of the table file, or by clicking Browse, navigating to the table file, selecting it, and clicking OK. Click Next on the Map Database Tables screen to proceed. The Map Object Classes screen appears. 8. In the Map Object Classes field, define the object classes and their RDNs that map to the database tables. Click the Create Object Class button. The New Object Class Mapping dialog box appears allowing you to define the objectclass and their corresponding RDNs. Enter the following information: a. Select the appropriate object class for the Object Class list. b. Enter the RDN for the object class in the RDN field.

c. Click OK. The object class and the RDN appear in the Object Class table.

9. Map LDAP attributes for the object class and RDNs to the database table and fields. You must map LDAP attributes for the object class RDN value. You do not have to map every LDAP attribute required by the LDAP schema for the selected object class. Click the appropriate object class in the Object Class table and then click the Add Mapping Attribute button on the Attributes Mapping table. Enter the following information. ■ Select the LDAP attribute value for the object class from the LDAP Attribute list. ■ Select the appropriate database table and field from the Database Table:Field list. ■ Optionally, select a description for the attribute type from the Data Type list. Note: If you do not define an object class in step 8, the information you entered in the Map Database Tables field cannot be saved. Note: You can create nested object classes by entering an existing object where the RDN of the nested class must be an attribute of the child object class. For example, you could create parent organization units for records in a table about people where location information is available that you can use to drive the organization unit ou information.