Oracle® Identity Manager Connector Guide for PeopleSoft Employee Reconciliation Release 9.0.1 Part Number B31130-01 |
|
|
View PDF |
Deploying the connector involves the following steps:
Step 3: Configuring the PeopleSoft Employee Reconciliation Server
Step 4: Configuring the PeopleSoft Listener for Change-based Reconciliation
To verify deployment requirements for the PeopleSoft Employee Reconciliation connector:
Ensure that your environment meets the requirements listed in the following table.
Ensure that you have sufficient administrative rights on the PeopleSoft server to perform the following actions:
Create a new message node
Configure PeopleSoft Enterprise Portal
Add a routing rule to publish messages
The files to be copied and the directories to which you must copy them are given in the following table.
Copy the adpPSFT_XellerateUser_RECON_DM.xml
file from the PSFT_Package_Folder
\PSFTAdapter\PeopleSoftHRAdapter-3.0.0\XML\
directory to the xellerate_home
\xlclient\
directory. The xlclient folder will not pre-exist in OIM installation and need to be created.
Copy the adpPSFT_RECON_DM.xml
file from the PSFT_Package_Folder
\PSFTAdapter\PeopleSoftHRAdapter-3.0.0\XML\
directory to the xellerate_home
\xlclient\
directory.
Copy the HRMSBulkRecon.txt
and HRMSCBRecon.txt
file from the PSFT_Adapter_Package\PSFTAdapter\PeopleSoftHRAdapter-3.0.0\PeopleCode
directory to the xellerate_home\xellerate\Scripts\
directory. The Scripts folder will not pre-exist in OIM installation and need to be created.
Copy the xlPSFTHRRecon.jar
file from the PSFT_Package_Folder\PSFTAdapter\PeopleSoftHRAdapter-3.0.0\lib\
directory to the xellerate_home\xellerate\ScheduleTask\
directory.
Copy the configureReconciliation.properties
file from the PSFT_Package_Folder\PSFTAdapter\PeopleSoftHRAdapter-3.0.0\properties\
directory to the xellerate_home\Scripts\
directory.
To configure the PeopleSoft Employee Reconciliation server, use an administrator account to perform the following procedures:
Perform the following procedures to create and publish the message:
To create the message channel:
Click Start menu, Programs, and then Application Designer from the PeopleSoft menu. The PeopleSoft Application Designer (2-tier mode) is displayed.
Note:
To open the Application Designer in 2-tier mode you must have database client installed on the machine. Additionally, you must select the connection type as the respective database (for example, Oracle) in the PeopleSoft Application Designer Signon window.Select New from the File menu. The New Definition dialog box is displayed.
In the New Definition dialog box, select Message Channel, and then click OK.
Save the new message channel as PERSON_BASIC.
Select Definition Properties from the File menu. The Message Channel Properties dialog box is displayed.
In the Message Channel Properties dialog box, select the Run option, and then select Archive Messages.
After creating the message channel, create the message as follows:
In the PeopleSoft Application Designer, select New from the File menu. The New Definition dialog box is displayed.
Select Message from the list.
Select Definition Properties from the File menu. The Message Properties dialog box is displayed.
Select the Use tab.
On the Use tab, select the PERSON_BASIC message channel and the version of the message that you just created.
Select Active to make the message an active message.
Save the message as PSFT_XELLERATE_MSG.
Right-click VERSION_1 and select the Insert Child Record property. A new window Insert Record will appear, to choose the records to be added to the Message.
Enter PERSONAL_DATA
in the Name field, and click the Insert button. The PERSONAL_DATA record will be added to the message.
Repeat steps 8 to 9 for EMPLOYMENT, JOB, DEPT_TBL, DERIVED_HR, and PSCAMA records.
Clicking on each record will display all the fields pertaining to that record in the adjacent window on the right. Select only those fields which are required in the XML Message. Refer psft_xellerate_msg.xml to find out the required fields.
Save the message again.
The final step is to publish the message as follows.
Select Open from the File menu. The Open Definition dialog box is displayed.
Select Component from the Definition list, enter PERSONAL_DATA
in the Name Selection Criteria field, and then press Enter. All component names starting with the text PERSONAL_DATA
are displayed.
Select PERSONAL_DATA from the list, and then click Open. The details of the PERSONAL_DATA
component are displayed.
Click the Structure tab, right-click PERSONAL_DATA, and then select View PeopleCode. The PeopleCode for the PERSONAL_DATA
component is displayed.
Select the SavePostChange event from the list in the upper-right corner of the window. The PeopleCode for this event is displayed.
Copy the code from the following file immediately after the import definitions in the PeopleCode for the SavePostChange
event:
xellerate_home\xellerate\Scripts\HRMSCBRecon.txt
Add the following function call at the end of the PeopleCode for the SavePostChange
event:
Note:
Perform this step only if you have already copied the code from theHRMSCBRecon.txt
file./**********************************************************************/ /* Calling the Generate function to generate the PSFT_XELLERATE_MSG message*/ /**********************************************************************/ Local string &emplid; &emplid = PERSON.EMPLID; GENERATE(&emplid);
Select Save from the File menu to save the changes to the PERSONAL_DATA
component.
PeopleSoft Enterprise Portal provides a single gateway to critical information in PeopleSoft Employee Reconciliation and other applications and systems. In order to use the PeopleSoft Employee Reconciliation connector, you must perform the following tasks:
You must configure the PeopleSoft Enterprise Portal gateway so that messages can be sent through the gateway to the connector.
To configure the PeopleSoft Enterprise Portal gateway:
Open a Web browser and enter the URL for PeopleSoft Enterprise Portal. The URL for PeopleSoft Enterprise Portal is in the following format:
http://servername/psp/Databasename/?cmd=login
For example:
http://psftserver.acme.com/TestDB/?cmd=login
Expand PeopleTools, Integration Broker, and then Gateways in the list on the portal page. The Gateway component details are displayed.
Enter LOCAL in the Integration Gateway ID, and then click Search. The LOCAL gateway is a default gateway that is created when you install PeopleSoft Enterprise Portal.
Ensure that the IP Address in the URL of the PeopleSoft listening connector is the IP address of the Web server where PeopleSoft is installed. The URL of the PeopleSoft listening connector is in the following format:
http://computer_name/PSIGW/PeopleSoftListeningConnector
For example:
http://172.19.151.53/PSIGW/PeopleSoftListeningConnector
Click Load Gateway Connectors to load all target connectors that are registered with the LOCAL gateway.
Click Save.
Create the XL_NODE Remote Node
You must create a XL_NODE
node to serve as the remote node.
To create the XL_NODE
remote node:
In PeopleSoft Enterprise Portal, on the left-hand menu, expand PeopleTools, Integration Broker, and Node Definitions.
Click the Add a New Value tab. On the Add a New Value tab, enter the Node Name as XL_NODE
and click the Add button. The Node Definition page is displayed.
Enter description in the Description field. Make this node a remote node by deselecting the Local Node check box and selecting the Active Node check box.
Click the Connectors tab, and enter the following information:
Gateway ID: LOCAL
Connector ID: PSFT81TARGET
Perform a lookup.
Click the Properties link, and enter the following information:
Property ID: PSFT81TARGET
Property Name: URL
Required value: Enter the URL of the PeopleSoft servlet that will receive the XML message. This URL is in the following format:
http://computer_name:port/peopleSoftApp/do/peopleSoftAction
For example:
http://172.21.109.75:8080/peopleSoftApp/do/peopleSoftAction
Click Save.
Click the Transactions tab, and then click Add Transaction. The Add Transaction dialog box is displayed.
In the Add Transaction dialog box, enter the following details to define the new transaction:
Transaction Type: Outbound Asynchronous
Request Message: PSFT_XELLERATE_MSG
Request Message Version: VERSION_1
Click Add.
To keep the status as active, select Active.
Click Save to save the changes.
Secure the PERSON_BASIC Message Channel
To secure the PERSON_BASIC
message channel:
In PeopleSoft Enterprise Portal, expand PeopleTools, Security, Permission & Roles, and Permission Lists, and then search for the AEAE1000 permission list.
Select the Message Monitor tab, and then click Add.
Specify PERSON_BASIC as the channel name, and select FULL as the access level.
Click Save.
To verify that the PERSON_BASIC
message channel is in running mode:
Expand PeopleTools, Integration Broker, Monitor, and Monitor Message.
Click the Channel Status tab.
Verify that the PERSON_BASIC
message channel is running. If it is paused, then click Run.
Configuring bulk reconciliation involves:
Creating the Application Engine Program
Running the Application Engine in Batch
The bulk reconciliation process requires creating the Application Engine program. To create this program, perform the following steps:
Click Start, Programs, Peoplesoft8.9hcm, and then Application Designer. The Application Designer window, in the 2-tier mode, is displayed.
Select New from the File menu. The New Definition dialog box is displayed.
Select Application Engine from the Definition list. The App Engine Program window is displayed.
Click the '+' in front of MAIN. A Step01 is added to the MAIN by default.
Rename the Step 01 to Populate.
In the App Engine Program window, select Action from the Insert menu. An action to Step 01 named Populate is added.
From the drop-down list in the action, select PeopleCode.
Click Save from the File menu to save the Application Engine Program with name BLKPRCS_HR
.
Double-click the PeopleCode action. A new PeopleCode window is displayed.
Copy the code from the xellerate_home\xellerate\Scripts\HRMSBulkRecon.txt
file. The location for output file is mentioned in this code. Change that location to a valid location on the PeopleSoft Server.
Close the window and Save the Application Engine Program.
To run the Application Engine in batch, perform the following steps:
Open the application designer in 2-tier mode.
Provide the correct connection type, user ID, and password.
Click the File menu, and open the application engine program, which you just created.
Click the RUN PROGRAM control that exists on the bar just below the Menu bar, on the extreme right. The code written on the peoplecode action will get executed.
The comma separated file will get created on the specified location mentioned in the code.
This section describes how to configure the listener for the PeopleSoft Employee Reconciliation connector. In the following instructions, xellerate_home
refers to the local Oracle Identity Manager Server installation directory.
To configure the PeopleSoft Listener:
Enter the following command to extract the WAR file in the temporary directory:
jar –xvf peopleSoftApp.war
Edit the attributemap.properties
file in the top-level directory. This file contains the mapping between the PeopleSoft attributes that the XML feed will contain and the Oracle Identity Manager attribute to which it is mapped. You must modify this file on the basis of the local configuration. Apply the following guidelines when you modify this file:
Obtain the XML schema of the PeopleSoft XML feed from the PeopleSoft administrator.
Obtain the xpath of all the PeopleSoft attributes. This is the complete path of the attribute from the root node in the XML file.
Modify the attributemap.properties
file by entering name-value pairs. Here, name
is the Oracle Identity Manager field name and value
is the PeopleSoft attribute xpath
from the XML feed.
Edit the deployment.properties
file in the top-level directory. This file contains only one property, message
, that corresponds to the name of the XML message from the PeopleSoft feed. The default value of this attribute is PSFT_XELLERATE_MSG.
Obtain the correct value for this attribute from the PeopleSoft administrator.
Edit the xlsession.properties
file in the top-level directory. This file contains the following Oracle Identity Manager connection parameters.
ObjectName: This is the name of the resource object in Oracle Identity Manager against which the reconciliation event is created. The default value is PSFT_HR_RO.
However, for untrusted reconciliation, you can change it to any other resource object.
Username: This is the user name for logging in to Oracle Identity Manager. The default value is xelsysadm.
Password: This is the password for logging in to Oracle Identity Manager. The default value is xelsysadm.
Edit the xlclient.properties
file in the top-level directory. This file contains the following system properties that enable an API client to communicate with Oracle Identity Manager:
xl.homedir: This property identifies the Oracle Identity Manager Client directory. Typically, the Oracle Identity Manager client directory is xellerate_home
\xlclient.
java.security.policy: This property identifies the path of the security policy file. Typically, this file is located in the xellerate_home
\xlclient\config\
directory.
java.security.auth.login.config: This property identifies the path of the authentication configuration file. Typically, this file is located in the xellerate_home
\xlclient\config\
directory.
Each application server uses a different authentication configuration file:
IBM WebSphere Application Server: authws.conf
BEA WebLogic Application Server: authwl.conf
JBoss Application Server: auth.conf
java.naming.provider.url: Identifies the JNP URL of the application server. You can find this value by opening the xellerate_home
\xlclient\config\xlconfig.xml
file and locating the <Discovery><CoreServer><java.naming.provider.url>
tag.
Edit the following properties in the configureReconciliation.properties
file from the top-level directory:
reconciliationMode:
This property can accept one of two possible values:
If reconciliation is to be performed in a trusted mode, then set the reconciliationMode
property to trusted.
If reconciliation is to be performed in a nontrusted mode, then set the reconciliationMode
property to nontrusted.
Serverdateformat:
This property contains the date format that is used for the PeopleSoft server. You can select one of the following date formats:
dd-mmm-yy
ddmmyy
yyddmm
yymmdd
xellerateOrganization:
This property contains the name of the organization. The default value of this parameter is Xellerate Users.
The value that you assign to this property must exist in Oracle Identity Manager.
nullDate:
This property contains the default value for a date field. The value is 2200/01/01 00:00:00 PST.
This value is used if the date field is left empty.
PeoplesoftstartingYEAR:
The year is specified in two digits. If the number represented by these two digits (xx):
- Is greater than or equal to 50, then it is assumed that the year is 19xx.
- Is less than 50, then it is assumed that the year is 20xx.
This specifies a range of 1950 to 2049 for the year.
XelServerDate=yyyy/MM/dd hh:mm:ss z : This property contains the date format that is used for the Xellerate server.
Copy the following files from the xellerate_home
\xellerate\lib
directory to the WEB-INF\lib
directory:
Copy the following files from the xellerate_home
\xellerate\ext
directory to the WEB-INF\lib
directory:
oscache.jar
javagroups-all.jar
Delete the peopleSoftApp.war
file from the temporary directory where you extracted it, and then use the following command to re-create the file:
jar –cvf peopleSoftApp.war .
You must restart the Oracle Identity Manager server and client before deploying the re-created WAR file. In addition, before you start the Oracle Identity Manager server and client, ensure that the peopleSoftApp.war
file does not exist in the application server (JBoss, WebSphere, or WebLogic) deployment directory and in the xellerate_home
\xellerate\webapp
directory. If it does, then it must be deleted.
If you use JBoss and log4j, then logs are produced and archived on a daily basis in the jboss_server_home_dir
/log/server.log
directory, where jboss_server_home_dir
is the parent directory in which JBoss is installed. For the other application servers, the log file is created and saved in the corresponding log
directories.
To import the connector files:
Open the Oracle Identity Manager Administrative and User Console.
Click the Deployment Management link on the left navigation bar.
Click the Import link under Deployment Management. A dialog box for locating files is displayed.
Locate and open the adpPSFT_RECON_DM.xml
file, which is in the xellerate_home\xlclient\
directory. Details of the XML file are shown on the File Review page.
Click Add File. The Substitutions page is displayed.
Click Next. The Confirmation window is displayed.
Click View Selections.
The contents of the XML file are displayed on the Import page. You may see a cross-shaped icon along with some nodes. You must remove these nodes. To do this, right-click each such node and then select Remove.
Click Import. The connector file is imported into Oracle Identity Manager.
If you plan to use the connector in trusted source reconciliation mode, then perform steps 1 to 8 to import the xlPSFT_XellerateUser.xml
file. This file is in the xellerate_home\xlclient\
directory.
Caution:
Only one connector can be configured as a trusted source. If you import the xlPSFT_XellerateUser.xml file while you have another trusted source configured, then both connector reconciliations would stop working.To configure the reconciliation module, you will need to create a scheduled task.
To create the schedule task, perform the following steps:
Open the Oracle Identity Manager Design Console.
Expand the Xellerate Administration folder.
Select Task Scheduler.
Click Find. The details of the predefined scheduled tasks are displayed on two different tabs.
Enter a number in the Max Retries field. This number represents the number of times Oracle Identity Manager should attempt to complete the task before assigning the ERROR status to the task.
Ensure that the Disabled and Stop Execution check boxes are cleared.
In the Start region, double-click the Start Time field. From the date-time editor that is displayed, select the date and time at which you want the task to run.
In the Interval region, set the following schedule parameters:
To set the task to run on a recurring basis, select the Daily, Weekly, Recurring Intervals, Monthly, or Yearly option.
If you select the Recurring Intervals option, then you must also specify the time interval at which you want the task to run on a recurring basis.
To set the task to run only once, select the Once option.
Provide values for the attributes of the scheduled task. Refer to the appropriate table in the Specifying Values for the Scheduled Task Attributes section for information about the values to be specified.
Click Save. The scheduled task is created. The INACTIVE status is displayed in the Status field, because the task is not currently running. The task is run at the date and time that you set in Step 7.
This section provides information about the values to be specified for the Employee Reconciliation Scheduled Task.
You must specify values for the following attributes of the employee reconciliation scheduled task.
Note:
Attribute values are predefined in the connector XML file that you import. Specify values only for those attributes that you want to change.Attribute Name | Description | Sample Value |
---|---|---|
FolderPath |
This is the Folder Path where PSFT generated Employee Reconciliation files will be available. | C:\PSFTHR\UserRecon\ |
TargetSystem |
Name of the resource object | PSFT_HR_RO |
IsTrusted |
Specifies the mode of reconciliation, trusted or nontrusted. | YES or NO, Default is No |
XellerateOrganization |
Default value for the Oracle Identity Manager Organization name.
This value is used to create the Xellerate User in trusted mode. |
Xellerate Users |
DateFormatFolderPath |
This is the path where the ConfigureReconciliation.properties file will be available. | C:\PSFTHR\DateFormat\ configureReconciliation.properties |
After you specify values for these task attributes, go to Step 10 of the procedure to create scheduled tasks.