Oracle® Internet Directory Administrator's Guide 10g (9.0.4) Part Number B12118-01 |
|
Synchronization with Oracle Human Resources, 4 of 6
This section contains these topics:
To deploy the Oracle Human Resources connector, you must create a directory integration profile for it in Oracle Internet Directory. During installation, a default integration profile is created. The parameters in that default integration profile are listed and described in Table B-20. For some of those parameters, you must specify values specific to integration with the Human Resources Connector. The parameters specific to the Human Resources Connector are listed in Table 39-3.
Attribute | Description |
---|---|
General Information |
|
Profile Name ( |
Unique name by which the connector is identified in the system, used as an RDN component of the DN that identifies the integration profile. The name can contain only alpha-numeric characters. This attribute is mandatory and not modifiable. The default name is |
Synchronization Mode |
The direction of synchronization between Oracle Internet Directory and a connected directory.
This attribute is mandatory and modifiable. Note: Oracle Internet Directory 10g (9.0.4) supports import operations only for Oracle Human Resources. |
Execution Information |
|
Agent Execution Command |
Connector executable name and argument list used by the directory integration and provisioning server to execute the connector. This attribute is mandatory and modifiable. The default is: odihragent OracleHRAgent connect=hrdb \ login=%orclodipConDirAccessAccount \ pass=%orclodipConDirAccessPassword \ date=%orclODIPLastSuccessfulExecutionTime \
You must set the value in the argument |
Connected Directory Account ( |
Valid user account in the connected directory to be used by the connector for synchronization. For the Human Resources Agent, it is a valid user identifier in the Oracle Human Resources database. See Also: Chapter 39, "Synchronization with Oracle Human Resources" for typical usage of passing it in the command-line |
Additional Config Info ( |
Any configuration information that you want the connector to store in Oracle Internet Directory. It is passed by the directory integration and provisioning server to the connector at time of connector invocation. The information is stored as an attribute and the directory integration and provisioning server does not have any knowledge of its content. The value stored in this attribute represents (for Oracle Human Resources connector) all attributes that need to be synchronized from Oracle Human Resources. See Also: "Task 2: Configure the List of Attributes to Be Synchronized with Oracle Internet Directory" This attribute is mandatory for the Oracle Human Resources connector, and modifiable by editing the configuration file and uploading it again into the profile. You cannot modify this attribute by using Oracle Directory manager. |
Connected Directory URL |
The host and port details of the connected directory. It must be entered in this format: |
Interface Type |
The interface used for data transfer. Since it is in the form of a tagged file, it is set to Note: You should not modify this attribute for Oracle Human Resources Profile. |
Mapping Information |
|
Mapping Rules |
Attribute for storing the mapping rules. Store the mapping rules in a file by using the Directory Integration and Provisioning Assistant or the This attribute is mandatory for Oracle Human Resources and is modifiable. See Also: |
Connected Directory Matching Filter |
This is not used in Oracle Human Resources connectivity. |
( |
This attribute names an LDAP filter that is used to search for a target entry in Oracle Internet Directory. The Oracle directory integration and provisioning server uses this filter to find out what kind of LDAP operation it needs to do to synchronize.
It is of the form It is optional and modifiable.
|
Status Information |
|
OID Last Applied Change Number ( |
This attribute, standard for all EXPORT profiles, does not apply to Oracle Human Resources synchronization. |
Last Applied Change Number ( |
This attribute, standard for all profiles, does not apply to the Oracle Human Resources synchronization. |
The default Oracle Human Resources profile provides a default list of attributes to be synchronized from Oracle Human Resources to Oracle Internet Directory. You can customize this list, adding attributes to it or removing attributes from it.
The default attribute list is stored in the orclodipAgentConfigInfo
attribute as part of the integration profile.The configuration information is also available in the file oraclehragent.cfg.master
that is located under the $
ORACLE_HOME/ldap/odi/conf
directory.
The columns in the default list of Oracle Human Resources attributes are:
The oraclehragent.cfg.master
file contains the following:
ATTRNAME:COLUMN_NAME:TABLE_NAME:FORMAT:MAP
PersonId:person_id:PER:NUMBER:Y
PersonType:person_type_id:PER:NUMBER:Y
PersonTypeName:system_person_type:PPT:ASCII:Y
LastName:last_name:PER:ASCII:Y
StartDate:start_date:PER:DATE:Y
BirthDate:date_of_birth:PER:DATE:Y
EMail:email_address:PER:ASCII:Y
EmployeeNumber:employee_number:PER:NUMBER:Y
FirstName:first_name:PER:ASCII:Y
FullName:full_name:PER:ASCII:Y
knownas:known_as:PER:ASCII:Y
MaritalStatus:marital_status:PER:ASCII:Y
middleName:middle_names:PER:ASCII:Y
country:country:PA:ASCII:Y
socialsecurity:national_identifier:PER:ASCII:Y
Sex:sex:PER:ASCII:Y
Title:title:PER:ASCII:Y
suffix:suffix:PER:ASCII:Y
street1:address_line1:PA:ASCII:Y
zip:postal_code:PA:ASCII:Y
Address1:address_line1:PA:ASCII:Y
Address2:address_line2:PA:ASCII:Y
Address3:address_line3:PA:ASCII:Y
TelephoneNumber1:telephone_number_1:PA:ASCII:Y
TelephoneNumber2:telephone_number_2:PA:ASCII:Y
TelephoneNumber3:telephone_number_3:PA:ASCII:Y
town_or_city:town_or_city:PA:ASCII:Y
state:region_2:PA:ASCII:Y
Start_date:effective_start_date:PER:DATE:Y
End_date:effective_end_date:PER:DATE:Y
per_updateTime:last_update_date:PER:DATE:Y
pa_updateTime:last_update_date:PA:DATE:Y
To include additional Oracle Human Resources attributes for synchronization, follow these steps:
oraclehragent.cfg.master
file and name it anything other than Agent_Name
.cfg
. This is because the directory integration and provisioning server generates a configuration file with that name, using it to pass the configuration information to the Oracle Human Resources agent at run time.
You also need to assign an attribute name to the column name. This acts as the output tag that is used to identify this attribute in the output file. This tag is used in the mapping rules to establish a rule between the Oracle Human Resources attribute and the Oracle Internet Directory attribute.
You must also ensure that the map
column--that is, the last column in the record--is set to the value Y
.
To exclude an Oracle Human Resources attribute that is currently being synchronized with Oracle Internet Directory:
oraclehragent.cfg.master
file and name it anything other than Agent_Name
.cfg
. This is because the directory integration and provisioning server generates a configuration file with that name, using it to pass the configuration information to the Oracle Human Resources connector at run time.
If the previous supporting attribute configuration is not sufficient to extract data from the Oracle Human Resources database, then the Oracle Human Resources agent also supports execution of a preconfigured SQL SELECT
statement in the configuration file. There is a TAG to indicate this in the config file, namely, a [SELECT]
in the configuration file.
The following example shows a sample select statement to retrieve some information from the Oracle Human Resources database. Note that only the SQL statement should be below the [SELECT]
Tag. The BINDVAR
Bind Variable needs to be there to retrieve incremental changes. The substitutes passes this value (the time stamp) to the Oracle Human Resources connector.
All the columns expressions retrieved in the SELECT
statement must have column names--for example, REPLACE(ppx.email_address),'@ORACLE.COM','')
is retrieved as EMAILADDRESS
. The Oracle Human Resources connector writes out EMAILADDRESS
as the attribute name in the output file with its value as the result of the expression REPLACE(ppx.email_address),'@ORACLE.COM'''
.
The following is an example of a a SELECT
statement in a configuration file.
[SELECT] SELECT REPLACE(ppx.email_address),'@ORACLE.COM',''), EMAILADDRESS , UPPER(ppx.attribute26) GUID, UPPER(ppx.last_name) LASTNAME, UPPER(ppx.first_name) FIRSTNAME, UPPER(ppx.middle_names) MIDDLENAME, UPPER(ppx.known_as) NICKNAME, UPPER(SUBSTR(ppx.date_of_birth,1,6)) BIRTHDAY, UPPER(ppx.employee_number) EMPLOYEEID, UPPER(ppos.date_start) HIREDATE, FROM hr_organization_units hou, per_people_x ppx, per_people_x mppx, per_periods_of_service ppos WHERE pax.supervisor_id = mppx.person_id(+) AND pax.organization_id = hou.organization_id(+) AND ppx.person_id = ppos.person_id AND ppx.person_id = pax.person_id AND ppos.actual_termination_date IS NULL AND UPPER(ppx.current_employee_flag) = 'Y' AND ppx.last_update_date >= (:BINDVAR,'YYYYMMDDHH24MISS')
Attribute mapping rules govern how the directory integration and provisioning server converts attributes between Oracle Human Resources and Oracle Internet Directory. You can customize the mapping rules you want the directory integration and provisioning server to use.
The Oracle Human Resources agent profile has a default mapping file with a set of mapping rules in the attribute orclodipAttributeMappingRules
. This information is also stored in the file named oraclehragent.map.master
located under the $
ORACLE_HOME/ldap/odi/conf
directory.
See Also:
"Mapping Rules and Formats" for the contents of the |
This section explains how to set up synchronization from Oracle Human Resources to Oracle Internet Directory.
To prepare for synchronization between Oracle Human Resources and Oracle Internet Directory, follow these steps:
orclodipagentcontrol
) attribute to ENABLE
. This indicates that the Oracle Human Resources connector is ready to run.
"Starting, Stopping, and Restarting the Oracle Directory Integration and Provisioning Server" for instructions about starting and stopping the directory integration and provisioning server
See Also:
|
![]() Copyright © 1999, 2003 Oracle Corporation. All Rights Reserved. |
|