Oracle® Role Manager Integration Guide Release 10g (10.1.4.2) Part Number E14611-07 |
|
|
View PDF |
This chapter contains procedures for configuring the IBM WebSphere application servers for Oracle Identity Manager and Oracle Role Manager in preparation for deployment of the Oracle Role Manager Integration Library. The procedures in this chapter are expected to be performed in the sequence they are presented.
This chapter includes the following sections:
The Oracle Role Manager Integration Library is intended to be deployed on the application server on which Oracle Identity Manager is deployed. The procedures in this chapter assume the following:
You have the access to the files installed in ORMINT_HOME.
You know the administrator user name and password to access the Oracle Identity Manager Administrative and User Console and the Design Console.
You know the WebSphere administrator user name and password to run wsadmin commands.
You have the appropriate permission to add and modify files in the application servers where Oracle Identity Manager and Oracle Role Manager are deployed.
You have the appropriate permission to stop and start the application servers where Oracle Identity Manager and Oracle Role Manager are deployed.
For clustered environments, the database users and aliases for JMS engines have been created following the instructions in the Oracle Role Manager Installation Guide.
This procedure assumes that a WebSphere application server has been created for Oracle Role Manager with a host alias set for port access to Oracle Role Manager.
Note:
When configuring WebSphere, it is recommended that you save your settings after every task.This section includes the following subsections:
(Clustered Mode Only) Creating the Database Users for the JMS Engines
(Clustered Mode Only) Creating the Aliases for the JMS Engine Database Users
Configuring Security Credentials on the Oracle Role Manager Bus
The procedure in this section deploys the configuration needed to update the JNDI destinations of the Outgoing Event Manager in Oracle Role Manager, used for communication with Oracle Identity Manager.
To deploy the WebSphere configuration:
Stop the Oracle Role Manager application server if it is running.
On the Oracle Role Manager installation host, copy the websphere_config.car file from ORM_HOME/Integration_Library/config to ORM_HOME/config.
In a command window, navigate to ORM_HOME/bin on the Oracle Role Manager host.
Run the deploy command to load the WebSphere configuration to the Oracle Role Manager database.
deploy.bat "../config/websphere_config.car" orm-owner ormapp-user admin-user
In this command:
orm-owner
is the user name of the Oracle Role Manager database owner user/schema
ormapp-user
is the user name of the Oracle Role Manager application user/schema
admin-user
is the user name of the Oracle Role Manager system administrator
At the prompts, enter the passwords of the Oracle Role Manager database owner, Oracle Role Manager application user, and Oracle Role Manager administrator.
You should see the message "Deployment successfully completed" in the command window.
To create a custom user:
If not already on the WebSphere administrative console, in a Web browser, enter the URL. For example:
http://appserverhost:9060/ibm/console
Select Users and Groups, then select Manage Users.
Click Create and enter the following:
In the User ID field, enter ormSystem
.
Note:
The user ID must be ormSystem.In the First name field, enter ORM
.
In the Last name field, enter System
.
In the Password field, enter a password for the user, for example, ormSystem
.
Click Create and then click Close.
To create alias for the custom user:
Click Security, then select Secure administration, applications, and infrastructure.
In the Authentication section, expand Java Authentication and Authorization Service, then click J2C authentication data.
Click New and enter the following:
In the Alias field, enter OIMALIAS
.
In the User field, enter ormSystem
.
In the Password field, enter the password set in step 3 of Section 8.2.2
Click OK, then save your changes.
For each planned server in the cluster, use this procedure to create a database user, such as WSOIMMsgEng1, WSOIMMsgEng2, and so forth.
To create the database users for the JMS engines:
On the Oracle Role Manager host, open a command window.
Using sqlplus or a similar utility, connect to the database instance into which the Oracle Role Manager schema is installed.
As the SYSTEM user, run the following commands:
create user WSOIMMsgEng1 identified by password default tablespace ORM_DATA temporary tablespace ORM_TEMP; grant connect to WSOIMMsgEng1; grant create session to WSOIMMsgEng1; grant resource to WSOIMMsgEng1; commit;
where WSOIMMsgEng1 is the name of the new user and password is the password for the new user.
Repeat these commands for additional users, as appropriate.
Follow this procure to create an alias for each database user created in Section 8.2.4.
To create alias for a custom database user:
Click Security, then select Secure administration, applications, and infrastructure.
In the Authentication section, expand Java Authentication and Authorization Service, then click J2C authentication data.
Click New and enter the following:
In the Alias field, enter a name, such as WSOIMMsgEng1
.
In the User field, enter WSOIMMsgEng1
.
Note:
The user entered here must match the database user name set using the commands in Section 8.2.4.In the Password field, enter the same password as the one set using the commands in Section 8.2.4 for this user.
Click OK.
Repeat this procedure for additional database users created in Section 8.2.4.
To create the JMS messaging buses:
Select Service integration, then select Buses.
Click New.
In the Name field, enter ORMRoleUpdateBus
.
Select Bus security, then click Next.
Click Finish.
For clustered server environments, add the cluster to the ORMRoleUpdateBus as follows:
Click ORMRoleUpdateBus, then click Bus members.
Click Add.
Choose the Cluster option, select the cluster for Oracle Role Manager, then click Next.
In the Select the type of message store list, select Data Store, then click Next.
In the Data source JNDI name field, enter orm/jdbc/WSMsgEngDS
.
In the Schema name field, enter WSOIMMsgEng1
.
In the Authentication alias list, select WSOIMMsgEng1.
Ensure that Create Tables is selected.
Click Next.
For nonclustered environments, add the server to the ORMRoleUpdateBus as follows:
Click ORMRoleUpdateBus, then click Bus members.
Click Add.
Select the server used for Oracle Role Manager, then click Next.
In the Select the type of message store list, select File Store, then click Next, then click Next again.
Click Finish, then save your changes.
To configure the Oracle Role Manager bus:
Select Service integration, then select Buses.
Select ORM Bus.
Create the foreign bus as follows:
Under Topology, click Foreign buses.
Click New.
In the Name field, enter OIM ORM Bus
, then click Next.
Note:
Take note of this bus name to use later when configuring buses on the Oracle Identity Manager application server.Select Direct, service Integration bus link as the routing type, then click Next.
Click Next again.
Click Finish, then save your changes.
Click ORM Bus to return to that page.
Create the foreign bus link as follows:
Under Topology, click Messaging engines.
Select the messaging engine to which you want to add the service integration bus links.
Under Additional properties, click Service integration bus links.
Click New.
In the Name field, enter OIM ORM Link
.
In the Foreign bus name list, select OIM ORM Bus.
Note:
Take note of this bus name to use later when configuring buses on the Oracle Identity Manager application server.In the Remote messaging engine name field, enter the messaging engine name of the OIM ORM Bus. For example:
oim_server_node.server_name
-OIM ORM Bus
.
Note:
For nonclustered environments, the remote messaging engine name must be in the form oim_server_node_name.oim_server_name followed by a hyphen and the name of the foreign bus. For clustered environments, the name must be in the form oim_cluster_name.index-OIM ORM Bus, for example, XL_JMS_CLUSTER.000-OIM ORM Bus.Click OK, then save your changes.
To configure the role update bus:
Click Service integration, then select Buses.
Click ORMRoleUpdateBus.
Create the foreign bus as follows:
Under Topology, click Foreign buses.
Click New.
In the Name field, enter OIMRoleUpdateBus
, then click Next.
Note:
Take note of this bus name to use later when configuring buses on the Oracle Identity Manager application server.Select Direct, Service Integration bus link as the routing type, then click Next.
In the Outbound user ID field, enter ormSystem, then click Next.
Click Finish, then save your changes.
Click ORMRoleUpdateBus to return to that page.
Create the foreign bus link as follows:
Under Topology, click Messaging engines.
Select the messaging engine to which you want to add the service integration bus links. For example, orm_server_node.orm_server
-ORMRoleUpdateBus
.
Under Additional properties, click Service integration bus links.
Click New.
In the Name field, enter RoleUpdateLink
.
In the Foreign Bus Name list, select OIMRoleUpdateBus.
Note:
Take note of this bus name to use later when configuring buses on the Oracle Identity Manager application server.In the Remote messaging engine name field, enter the messaging engine name of the OIMRoleUpdateBus. For example:
oim_server_node.oim_server_name
-OIMRoleUpdateBus.
Note:
The remote message engine name must be in the form oim_server_node_name.oim_server_name followed by a hyphen and the name of the foreign bus. For clustered environments, the name must be in the form oim_cluster_name.index-OIMRoleUpdateBus, for example, XL_JMS_CLUSTER.000-OIMRoleUpdateBus.In the Target inbound transport chain field, enter InboundSecureMessaging
.
In the Bootstrap endpoints field, enter the Oracle Identity Manager server's host name followed by a colon (:), the SIB endpoint secure address followed by a colon (:), then BootstrapSecureMessaging. For example, oim_host
:
secure_sib:
BootstrapSecureMessaging
Note:
For clustered environments, endpoints should be in the formoim_host
:
secure_sib
:BootstrapSecureMessaging
,oim_host
:
secure_sib
:BootstrapSecureMessaging
where oim_host is the foreign server and secure_sib is the foreign server's SIB_ENDPOINT_SECURE_ADDRESS.In the Authentication alias list, select OIMALIAS.
Click OK, then save your changes.
Click ORMRoleUpdateBus to return to that page.
Create the foreign bus destination as follows:
Click New.
Choose Foreign as the destination type, then click Next.
Enter RoleUpdateDest
as the identifier.
Note:
Take note of this destination name to use when configuring the OIM Role Update Bus on the Oracle Identity Manager application server.Select OIMRoleUpdateBus as the bus, then click Next.
Click Finish, then save your changes.
To configure JMS queue connection factory for ORM Role Update:
From Resources, select JMS, then select Queue connection factories.
For clustered configuration, select the cluster scope used previously, then click New.
For nonclustered configuration, select the cell scope used previously, then click New.
Choose Default messaging provider, then click OK.
In the JNDI name field, enter /oim/OIMserver/QueueConnectionFactory
.
In the Bus name list, select ORMRoleUpdateBus.
In the Target inbound Transport chain field, enter InboundSecureMessaging
.
In the Advanced Administration area, in the Component-managed authentication alias list, select OIMALIAS.
Click OK, then save your changes.
To configure the ORM Role Update queue:
For clustered configuration, select the cluster scope used previously, then click New.
For nonclustered configuration, select the cell scope used previously, then click New.
Choose Default messaging provider, then click OK.
In the Name field, enter RoleUpdateQueue
.
In the JNDI name field, enter oim/OIMserver/RoleManagerQueue
.
In the Bus name list, select OIMRoleUpdateBus.
In the Queue name list, select RoleUpdateDest.
Click OK, then save your changes.
To configure security credentials on the Oracle Role Manager bus:
Click Service integration, then select Buses.
Click ORM Bus.
In the Additional Properties section, click Security.
Select Enable bus security if it is not already selected.
In the Inter-engine authentication alias field, select OIMALIAS.
In the Permitted transports section, select Restrict the use of defined transport channel chains to those protected by SSL.
Click OK.
Click ORM Bus to return to that page.
Set the foreign bus link authentication alias as follows:
In the Topology section, click Messaging engines.
Select the messaging engine link to which you want to add the integration bus links.
In the Additional Properties section, click Service integration bus links.
Select OIM ORM Link.
In the Authentication alias field, select OIMALIAS.
Click OK.
Click ORM Bus to return to that page.
Configure users for the bus connector as follows:
In the Additional Properties area, click Security.
In the Additional Properties area, click Users and groups in the bus connector role.
Click New.
Select User name and enter ormSystem
.
Click OK.
Click ORM Bus to return to that page.
Set the foreign bus link routing properties as follows:
In the Topology section, click Foreign buses.
Click OIM ORM Bus.
In the Additional Properties section, click Service integration bus link routing properties.
In the Inbound user ID field, enter ormserver
.
Note:
ormserver is the user ID of the custom user associated with the Oracle Role Manager server application. If you have associated a different user, you must specify that user ID instead.Click OK, then save your changes.
To configure security credentials on the role update bus:
Click Service integration, then select Buses.
Click ORMRoleUpdateBus.
In the Additional Properties area, click Security.
From the Inter-engine authentication alias list, select OIMALIAS.
In the Permitted transports section, select Restrict the use of defined transport channel chains to those protected by SSL.
Click OK, then save your changes.
Click ORMRoleUpdateBus to return to that page.
Set the users for the bus connector as follows:
In the Additional Properties area, click Security.
In the Additional Properties area, click Users and groups in the bus connector role.
Click New.
Select User name, then enter ormSystem
.
Click OK, then save your changes.
This task must be performed using the wsadmin command-line tools provided by WebSphere. WebSphere must be running before performing this procedure.
Note:
The commands in this procedure require the WebSphere Administrator user name and password. If you do not have those values, contact a WebSphere administrator.Note:
The user ID specified in the commands in the following procedure is ormSystem. If you have a different user associated with Oracle Role Manager or if you did not use the default bus names from this document, you must specify those values instead.To grant the Sender roles:
On the host where Oracle Role Manager is deployed, run the following command:
DEPLOYMENT_MANAGER_HOME/bin/wsadmin.bat
Where DEPLOYMENT_MANAGER_HOME is the home directory of the deployment manager. For example, C:\IBM\WebSphere\AppServer\profiles\Dmgr02
At the prompt, grant the Sender role for the Incoming Event Queue with the following command:
$AdminTask addUserToDestinationRole {-type Queue -bus "ORM Bus" -destination "Incoming Event Queue" -role Sender -user ormserver} $AdminConfig save
Grant the Sender role to foreign destinations with the following command:
$AdminTask addUserToDestinationRole {-type foreignDestination –bus "ORMRoleUpdateBus" –destination "RoleUpdateDest" –foreignBus "OIMRoleUpdateBus" –role Sender –user ormSystem} $AdminTask addUserToForeignBusRole {-bus "ORMRoleUpdateBus" –foreignBus "OIMRoleUpdateBus" –role Sender –user ormSystem} $AdminConfig save quit
To disable transaction security:
Log in to the WebSphere Administrative Console for the server on which Oracle Role Manager is deployed.
Select Servers, then select Application servers.
Click the server name link corresponding to the server on which Oracle Role Manager is deployed.
In the Container Settings section, expand Container Services, then click Transaction Service.
In the Additional Properties section, click Custom Properties.
Click New.
In the Name field, enter DISABLE_PROTOCOL_SECURITY
.
In the Value field, enter true
.
In the Description field, enter Disable transaction protocol security
.
Click OK, then save your changes.
Running the Oracle Role Manager Integration Library in a secured environment requires modifying the deployment descriptor for Oracle Role Manager on the application server host before deploying the Integration Library application.
Note:
For clustered environments, perform this procedure on all managed servers.To modify the deployment descriptor:
On the Oracle Role Manager host, copy the server.ear file from ORM_HOME/lib to a temporary location.
In the temporary location, using a utility such as WinZip or jar, extract the contents of the server.ear file.
You should see the server.jar file.
Copy and extract the contents of the server.jar file to a separate temporary location.
In the second temporary location, navigate to the META-INF directory
You should see the ejb-jar.xml file.
Open the ejb-jar.xml file with a text editor and edit it as follows:
Find the session
element with the ejb-name
element defined as SingletonEJB
.
Add a resource-ref
element as the last resource-ref
element in the SingletonEJB session
element and define it as follows:
<resource-ref id="ResourceRef_1177777777777"> <res-ref-name>OIM/IntegrationConnectionFactory</res-ref-name> <res-type>javax.jms.QueueConnectionFactory</res-type> <res-auth>Container</res-auth> <res-sharing-scope>Shareable</res-sharing-scope> </resource-ref>
Note:
The newresource-ref
element should be the last of its type and preceding the first resource-env-ref
element.Using a utility such as WinZip or jar, repackage the contents of server.jar, then copy server.jar to the first temporary location to overwrite the existing server.jar file.
In the first temporary location, repackage the contents of server.ear, then redeploy server.ear to the application server on which Oracle Role Manager is deployed.
For instructions on deploying the server.ear file, refer to the Oracle Role Manager Installation Guide.
Note:
On redeployment of the server.ear file, in the Target Resource JNDI Name field for the OIM/IntegrationConnectionFactory resource reference, browse to select RoleUpdateQCF, then click Apply.Start the application server on which Oracle Role Manager is deployed.
Ensure that deployment descriptor changes are present for the Oracle Role Manager server follows:
Log in to the WebSphere Administrative Console for the server on which Oracle Role Manager is deployed.
Select Applications, then click Enterprise Applications.
Click the name of the server for Oracle Role Manager, for example ORM Server.
In the References area, click Resource references.
Go to the table in the javax.jms.QueueConnectionFactory section.
For the resource reference named OIM/IntegrationConnectionFactory, look at the value in the Target Resource JNDI Name column.
It should be /oim/OIMserver/QueueConnectionFactory.
If it is not, click Browse to select /oim/OIMserver/QueueConnectionFactory. Then select OIM/IntegrationConnectionFactory, then click Apply.
For the resource reference named OIM/IntegrationConnectionFactory, look at the final cell in that row.
It should contain a value similar to:
Resource authorization: Container Authentication method: DefaultPrincipalMapping staco18Node01/OIMALIAS
If it does not, select Use default method for authentication. Then from the Authentication data entry list, select OIMALIAS, then click Apply.
If you have made any changes while verifying these settings, click OK, then save your changes.
This procedure assumes that a WebSphere application server has been created for Oracle Identity Manager with a host alias set for port access to Oracle Identity Manager.
Note:
When configuring WebSphere, it is recommended that you save your settings after every task.This section includes the following subsections:
(Clustered Mode Only) Creating the Oracle Identity Manager Database Users for the JMS Engines
Creating the Authentication Alias for connections to Oracle Role Manager
(Clustered Mode Only) Creating the Additional Authentication Aliases for the New Data Stores
(Clustered Mode Only) Creating the JDBC Data Sources for the New Data Stores
To create the database user and role for the JMS engines:
On the Oracle Identity Manager host, open a command window.
Using sqlplus or a similar utility, connect to the database instance into which the Oracle Identity Manager schema is installed.
As the SYSTEM user, run the following commands to create the IntegrationORM user, the IntegrationRole user and the IntegrationJMS role:
create user IntegrationORM identified by ormSystem default tablespace OIM_TABLESPACE temporary tablespace OIM_TEMP_TABLESPACE; create user IntegrationRole identified by ormSystem default tablespace OIM_TABLESPACE temporary tablespace OIM_TEMP_TABLESPACE; create role IntegrationJMS; grant connect, create session, resource to IntegrationJMS; grant create tablespace, drop any table to IntegrationJMS; grant unlimited tablespace to IntegrationORM; grant unlimited tablespace to IntegrationRole; grant IntegrationJMS to IntegrationORM; grant IntegrationJMS to IntegrationRole; commit;
where OIM_TABLESPACE and OIM_TEMP_TABLESPACE are the appropriate tablespace names for the Oracle Identity Manager schema.
Java 2 Connector authentication data entry settings are used for administrators to define authentication data, which includes user identities and passwords. Using aliases, these values can reference authentication data entries by resource adapters, data sources, and other configurations that require authentication.
To create the alias for connections to Oracle Role Manager:
If not already on the WebSphere administrative console, in a Web browser, enter the URL. For example:
http://appserverhost:9060/ibm/console
Select Security, then select Secure administration, applications, and infrastructure.
In the Authentication area, select Java Authentication and Authorization Service, then select J2C authentication data.
In the Alias field, enter OIMALIAS
.
In the User ID field, enter ormSystem
.
Note:
The user ID must be ormSystem.In the Password field, enter ormSystem
.
Click OK, then save your changes.
If you are configuring a nonclustered environment, skip to Section 8.3.5.
To create the alias for connections to Oracle Role Manager:
If not already on the WebSphere administrative console, in a Web browser, enter the URL. For example:
http://appserverhost:9060/ibm/console
Select Security, then select Secure administration, applications, and infrastructure.
In the Authentication area, select Java Authentication and Authorization Service, then select J2C authentication data.
Create the alias for the IntegrationORM user as follows:
Create the alias for the IntegrationRole user as follows:
To configure the data sources for the data stores:
In a Web browser, connect to the WebSphere administrative console.
Select Resources, then select JDBC.
Select Data Sources.
In the Scope list, select Cell=XL_CELL.
Create the data source for the IntegrationORM data store as follows:
Click New.
In the Data source name field, enter Integration_ORM_DS
.
In the JNDI name field, enter jdbc/Integration_ORM_DS
.
Click Next.
Choose the Select an existing JDBC provider option.
Select XL XA Provider from the list, then click Next.
In the URL field, enter the JDBC connection string for of the XL XA Provider. For example, jdbc:oracle:thin:@ip_address:port:instance.
Note:
The URL entered here is the same as that entered for the XA data source for Oracle Identity Manager.In the Data store helper class name list, select either Oracle10g data store helper or Oracle11g data store helper, depending on your database.
Select Use this data source in container managed persistence (CMP), then click Next.
Click Finish.
Click Integration_ORM_DS.
In the Additional Properties section, click Connection Pool Properties.
In the Maximum connections field, enter 50
.
In the Minimum connections field, enter 30
.
In the Aged Timeout field, enter 10000
.
Click OK.
Create the data source for the IntegrationRole data store as follows:
Click New.
In the Data source name field, enter Integration_Role_DS
.
In the JNDI name field, enter jdbc/Integration_Role_DS
.
Click Next.
Choose the Select an existing JDBC provider option.
Select XL XA Provider from the list, then click Next.
In the URL field, enter the JDBC connection string for the data source. For example, jdbc:oracle:thin:@ip_address:port:instance.
Note:
The URL entered here is the same as that entered for the XA data source for Oracle Identity Manager.In the Data store helper class name list, select either Oracle10g data store helper or Oracle11g data store helper, depending on your database.
Select Use this data source in container managed persistence (CMP), then click Next.
Click Finish.
Click Integration_Role_DS.
In the Additional Properties section, click Connection Pool Properties.
In the Maximum connections field, enter 50
.
In the Minimum connections field, enter 30
.
In the Aged Timeout field, enter 10000
.
Click OK.
To create the JMS messaging buses:
Select Service integration, then select Buses.
Create the Role Update bus as follows:
Create the OIM ORM bus as follows:
This is the bus for sending messages from Oracle Identity Manager to Oracle Role Manager. For example, this bus is used for create user scenarios.
If you are configuring a clustered server environment, add the cluster to each of the newly created buses as follows:
Click the bus link, then click Bus members.
Click Add.
Choose the Cluster option, the cluster to use from the list, for example XL_JMS_CLUSTER.
Click Next.
In the Select the type of message store list, select Data Store, then click Next.
In the Data source JNDI name field, enter either of following names, depending on which bus you are modifying.
- For the OIM ORM Bus, enter jdbc/Integration_ORM_DS
.
- For the OIMRoleUpdateBus, enter jdbc/Integration_Role_DS
.
In the Schema Name field, enter either of the following names, depending on which bus you are modifying:
- For the OIM ORM Bus, enter IntegrationORM
.
- For the OIMRoleUpdateBus, enter IntegrationRole
.
In the Authentication alias list, select either of following aliases, depending on which bus you are modifying:
- For the OIM ORM Bus, select XL_MANAGER_NODE/IntegrationORMBus.
- For the OIMRoleUpdateBus, select XL_MANAGER_NODE/IntegrationRoleBus.
Ensure that Create Tables is selected.
Click Next, click Finish, then save your changes.
For nonclustered environments, add the server to each of the newly created buses as follows:
Click the bus link, then click Bus members.
Select the server used for Oracle Identity Manager, then click Next.
In the Select the type of message store list, select File Store, then click Next, then click Next again.
Click Finish, then save your changes.
To add the foreign bus to the OIM ORM Bus:
Click Service integration, then select Buses.
Select OIM ORM Bus.
Create the foreign bus as follows:
Under Topology, click Foreign buses.
Click New.
In the Name field, enter ORM Bus
, then click Next.
Note:
This foreign bus name must exactly match the bus name on the Oracle Role Manager server.Select Direct, service Integration bus link as the routing type, then click Next.
Click Next again.
Click Finish, then save your changes.
Add the foreign bus link as follows:
Click OIM ORM Bus.
Under Topology, click Messaging engines.
Select the messaging engine to which you want to add the service integration bus links.
Under Additional properties, click Service integration bus links.
Click New.
In the Name field, enter OIM ORM Link
.
In the Foreign Bus Name list, select ORM Bus.
Note:
This foreign bus name must exactly match the bus name on the Oracle Role Manager server.In the Remote message engine name field, enter the messaging engine name of the ORM Bus. For example, orm_server_node.orm_server
-ORM Bus
Note:
The remote message engine name must be in the form orm_server_node_name.orm_server_name followed by a hyphen and the name of the foreign bus. For clustered environments, the name must be in the form orm_cluster_name.index-ORM Bus, for example ORM_CLUSTER.000-ORM Bus.In the Bootstrap endpoints field, enter the Oracle Role Manager server's host name followed by a colon (:), the SIB endpoint secure address followed by a colon (:), then BootstrapSecureMessaging
. For example, orm_host
:
secure_sib
:BootstrapSecureMessaging
.
Note:
For clustered environments, endpoints should be in the form orm_host:secure_sib:BootstrapSecureMessaging,orm_host:secure_sib:BootstrapSecureMessaging where orm_host is the foreign server and secure_sib is the foreign server's SIB_ENDPOINT_SECURE_ADDRESS.In the Target inbound transport chain field, enter InboundSecureMessaging
.
Click OK.
Configure foreign bus destinations as follows:
Click OIM ORM Bus, then click Destinations.
Click New.
Choose Foreign as the destination type, then click Next.
Enter Incoming Event Queue
as the identifier.
Note:
This name must exactly match the name of the incoming event queue destination on the Oracle Role Manager server.Specify ORM Bus as the bus member to own the queue, then click Next.
Click Finish, then save your changes.
To configure the role update bus:
Click Service integration, then select Buses.
Select OIMRoleUpdateBus.
Create the foreign bus as follows:
Under Topology, click Foreign buses.
Click New.
In the Name field, enter ORMRoleUpdateBus
, then click Next.
Note:
The foreign bus name must exactly match the bus name on the Oracle Role Manager server.Select Direct, service Integration bus link as the routing type, then click Next.
Click Next.
Click Finish, then save your changes.
Create the foreign bus link as follows:
Click OIMRoleUpdateBus.
Under Topology, click Messaging engines.
Select the messaging engine to which you want to add the service integration bus links.
Under Additional properties, click Service integration bus links.
Click New.
In the Name field, enter RoleUpdateLink
.
In the Foreign Bus Name list, select ORMRoleUpdateBus.
Note:
This foreign bus name must exactly match the bus name on the Oracle Role Manager server.In the Remote message engine name field, enter the messaging engine name of ORMRoleUpdateBus. For example: orm_server_node.orm_server
-ORMRoleUpdateBus
.
Note:
The remote message engine name must be in the form orm_server_node_name.orm_server_name followed by a hyphen and the name of the foreign bus.Click OK.
Configure bus destinations as follows:
To configure JMS queue connection factories:
From Resources, select JMS, then select Queue connection factories.
Select the cell scope used for Oracle Identity Manager, then click New.
Choose Default messaging provider, then click OK
In the JNDI name field, enter /oim/OIMserver/QueueConnectionFactory
.
In the Bus name list, select OIMRoleUpdateBus.
In the Advanced Administration area, in the Component-managed authentication alias list, select OIMALIAS.
Click OK, then save your changes.
Click New.
Choose Default messaging provider, then click OK.
In the Bus name list, select OIM ORM Bus.
In the Advanced Administration area, in the Component-managed authentication alias list, select OIMALIAS.
In the Target inbound transport chain field, enter InboundSecureMessaging
.
Click OK, then save your changes.
To configure the Oracle Role Manager queue:
Select the cell scope used previously, then click New.
Choose Default messaging provider, then click OK.
In the Name field, enter ormJMSQueue
.
In the JNDI name field, enter oim/OIMserver/RoleManagerQueue
.
In the Bus name list, select OIMRoleUpdateBus.
In the Queue name list, select RoleUpdateDest.
Click OK, then save your changes.
To configure the OIM ORM queue:
Select the cell scope used previously, then click New.
Choose Default messaging provider, then click OK.
In the Name field, enter OIM ORM Queue
.
In the JNDI name field, enter orm/jms/IncomingEventQueue
.
In the Bus name list, select ORM Bus.
In the Queue name list, select Incoming Event Queue.
Click OK, then save your changes.
To configure the Oracle Role Manager JMS AS:
From Resources, select JMS, then select Activation specifications.
Select the same cell scope used previously, then click New
Choose Default messaging provider, then click OK
In the Name field, enter ormJMSActiveSpec
.
In the JNDI name field, enter orm/jms/ormJMSActiveSpec
.
In the Destination type list, select Queue.
In the Destination JNDI name field, enter oim/OIMserver/RoleManagerQueue
.
In the Bus name list, select OIMRoleUpdateBus.
In the Authentication Alias list, select OIMALIAS.
Click OK, then save your changes.
To configure security credentials for the Role Update Bus:
Configure users and authentication for the bus as follows:
From Security, select Bus security.
Click OIMRoleUpdateBus.
In the Additional Properties area, click Security.
In the Additional Properties area, select Users and groups in the bus connector role, then click New.
Select User name, then enter ormSystem
.
Click OK, then save your changes.
Set the foreign bus link authentication alias as follows:
Click OIMRoleUpdateBus to return to that page.
In the Topology section, click Messaging engines.
Select the messaging engine link to which you want to add the service integration bus links.
In the Additional Properties section, click Service integration bus links.
Click RoleUpdateLink.
In the Authentication alias field, select OIMALIAS.
Click OK.
Save your changes.
To configure users for the OIM ORM Bus:
Click Service integration, then select Buses.
Click OIM ORM Bus.
Configure users and authentication for the bus as follows:
In the Additional Properties area, click Security.
In the Inter-engine authentication alias field, select OIMALIAS, then click Apply.
Click OK, then save your changes.
Click OIM ORM Bus.
In the Additional Properties area, select Security.
In the Additional Properties area, select Users and groups in the bus connector role, then click New.
Select User name, then enter ormSystem
.
Click OK, then save your changes.
Set the foreign bus link authentication alias as follows:
Click OIM ORM Bus to return to that page.
In the Topology section, click Messaging engines.
Select the messaging engine link to which you want to add the service integration bus links.
In the Additional Properties section, click Service integration bus links.
Click OIM ORM Link.
In the Authentication alias field, select OIMALIAS.
Click OK, then save your changes.
Configuring outbound authentication prevents the Oracle Identity Manager server from sending confidential credentials to the Oracle Role Manager server.
To configure outbound authentication:
From Security, select Secure administration, applications, and infrastructure.
Expand RMI/IIOP security, then click CSIv2 outbound authentication.
In the Basic authentication section, select Never.
Click OK, then save your changes.
This task must be performed using the wsadmin command-line tools provided by WebSphere. WebSphere must be running before performing this procedure.
Note:
The commands in this procedure require the WebSphere Administrator user name and password. If you do not have those values, contact a WebSphere administrator.Note:
The user ID specified in the commands in the following procedure is ormSystem. If you have a different user associated with Oracle Role Manager or if you did not use the default bus names from this document, you must specify those values instead.To grant the Sender roles:
On the host where Oracle Identity Manager is deployed, run the following command:
DEPLOYMENT_MANAGER_HOME/bin/wsadmin.bat
Where DEPLOYMENT_MANAGER_HOME is the home directory of the deployment manager. For example, C:\IBM\WebSphere\AppServer\profiles\XL_MANAGER_PROFILE.
At the prompt, grant the Sender role for foreign destinations with the following command:
$AdminTask addUserToDestinationRole {-type foreignDestination –bus "OIM ORM Bus" –destination "Incoming Event Queue" –foreignBus "ORM Bus" –role Sender –user ormSystem} $AdminTask addUserToForeignBusRole {-bus "OIM ORM Bus" –foreignBus "ORM Bus" –role Sender –user ormSystem} $AdminConfig save quit
To configure the shared libraries:
Create the IntegrationJars shared library as follows:
From Environment, select Shared Libraries, then select the same cell scope used for Oracle Identity Manager.
Click New.
In the Name field, enter IntegrationJars
.
In the Classpath field, enter the full path to the following JAR files:
ORMINT_HOME/lib/orm_encryption.jar ORMINT_HOME/lib/server_api_14.jar ORMINT_HOME/lib/websphere_stubs.jar OIM_HOME/lib/xlAPI.jar
Press Enter after each path to specify the class path for the next JAR file.
Click OK, then save your changes.
Create the IntegrationSecurity shared library as follows:
From Environment, select Shared Libraries, then select the same cell scope used for Oracle Identity Manager.
Click New.
In the Name field, enter IntegrationSecurity
.
In the Classpath field, enter the full path to the following JAR files, press Enter.
ORMINT_HOME/lib/orm_encryption.jar
Click OK, then save your changes.
If you are configuring a clustered server environment, copy the libraries as follows on each managed node:
In the file system where Oracle Identity Manager is deployed, create the following directory if it does not exist:
OIM_appserver/java/jre/lib/endorsed
where OIM_appserver/java
is the JDK directory for WebSphere. For example, C:\IBM\WebSphere\AppServer\java.
Copy the following libraries into the endorsed
directory:
ORMINT_HOME/lib/xercesImpl.jar ORMINT_HOME/lib/xml-apis.jar
To add the Integration Library JVM system properties:
From Servers, select Application Servers, then select the server on which Oracle Identity Manager is deployed.
Under Server Infrastructure, expand Java and Process Management, then click Process Definition.
Under Additional Properties, click Java Virtual Machine.
Under Additional Properties, click Custom Properties.
Click New.
In the Name field, enter ORMINT_ROOT_DIR
.
In the Value field, enter the full path to the Oracle Role Manager Integration Library home directory, for example C:/
ORMINT_HOME
.
In the Description field, enter Location of the Oracle Role Manager Integration Library home directory
.
Click Apply, then save your changes.
For these changes to go into effect, restart the Oracle Identity Manager server.
For clustered server environments, repeat these steps for each Oracle Role Manager server in the XL_CLUSTER cluster.
Configuring signer certificates for clustered and nonclustered server environments involves exporting and importing certificates from both the target and source systems as described in this section.
In this section:
To export the certificates from Oracle Role Manager:
On the application server host for the Oracle Role Manager, connect to the WebSphere administrative console.
Note:
For clustered environments, connect to the WebSphere administrative console on the host server that is the primary node for the Oracle Role Manager cluster.From Security, select SSL certificate and key management.
In the Related Items section, click Key stores and certificates.
For clustered environments, click CellDefaultTrustStore.
For nonclustered environments, click NodeDefaultTrustStore.
In the Additional Properties section, click Signer certificates.
Perform the following steps for each certificate named default or defaultx (where x is a number):
Select the certificate.
Click Extract.
In the File name field, enter a name for the certificate file. For example, orm_signer.cer
or orm_signer_x.cer
.
Click OK.
On the file system, navigate to WAS_HOME/AppServer/profiles/server/etc.
Copy the exported certificate to the equivalent directory on the Oracle Identity Manager host, for example, C:\IBM\WebSphere\AppServer\profiles\WL_MANAGER_PROFILE\etc.
These certificates must be imported into the Oracle Identity Manager cluster's primary node following the steps in Section 8.4.2.
To import and export certificates on Oracle Identity Manager:
On the application server host for the Oracle Identity Manager, connect to the WebSphere administrative console.
Note:
For clustered environments, connect to the WebSphere administrative console on the host server that is the primary node for the Oracle Identity Manager cluster.From Security, select SSL certificate and key management.
In the Related Items section, click Key stores and certificates.
For clustered environments, click CellDefaultTrustStore.
For nonclustered environments, click NodeDefaultTrustStore.
In the Additional Properties section, click Signer certificates.
Import each of the certificates exported from Oracle Role Manager as follows:
Click Add.
In the Alias field, enter a unique alias for the certificate, for example, ormcert1
.
In the File name field, enter the file name, for example orm_signer.cer.
Click OK.
Export each certificate named default or defaultx (where x is a number) as follows:
Select the certificate.
Click Extract.
In the Name field, a file name. For example, oim_signer.cer
or oim_signer_x.cer
.
Click OK.
On the file system, navigate to WAS_HOME/AppServer/profiles/server/etc.
Copy the exported certificate to the equivalent directory on the Oracle Role Manager host.
These certificates must be imported into the Oracle Role Manager cluster's primary node following the steps in Section 8.4.3.
To import certificates on Oracle Role Manager:
On the application server host for the Oracle Role Manager, connect to the WebSphere administrative console.
Note:
For clustered environments, connect to the WebSphere administrative console on the host server that is the primary node for the Oracle Role Manager cluster.From Security, select SSL certificate and key management.
In the Related Items section, click Key stores and certificates.
For clustered environments, click CellDefaultTrustStore.
For nonclustered environments, click NodeDefaultTrustStore.
In the Additional Properties section, click Signer certificates.
For each of the certificates exported from Oracle Identity Manager, do the following:
Click Add.
In the Alias field, enter a unique alias for the certificate, for example, oimcert1
.
In the File name field, enter the file name, for example oim_signer.cer.
Click OK.
Note:
For clustered environments, perform this procedure on each server node, for example, XL_SERVER1_ON_NODE1, XL_SERVER2_ON_NODE2, and so forth.Note:
For clustered environments, this procedure assumes the following:ORMINT_HOME exists in an identical directory on each server host.
Each server host has the identical modified IMConfig.xml file in OIMINT_HOME/config.
To deploy the Integration Library application:
On the Oracle Identity Manager host, create the EAR file for the Integration Library application that contains JAR files from Oracle Identity Manager as follows:
In a command window, navigate to ORMINT_HOME/bin.
Run the following command:
For UNIX-based systems: sh create_ear.sh OIM_HOME/xellerate
For Windows systems: create_ear.bat OIM_HOME/xellerate
where OIM_HOME is the root installation directory for Oracle Identity Manager.
Connect to the WebSphere administrative console for the Oracle Identity Manager application server. For example:
http://appserverhost:9060/ibm/console
Select Applications, then select Install New Application.
Choose Remote file system, then click Browse to navigate to the ORMINT_HOME/lib directory.
Select roleManagerIntegration_WebSphere6.1.ear, then click Next.
On the Select installation options page, accept the defaults and click Next.
On the Map modules to servers page, select roleManagerIntegration_WebSphere6.1.ear, select the cluster or server on which to deploy the Integration Library, then click Apply.
Click Next.
Click Finish, then save your changes.
Add the IntegrationJars shared library (created in Section 8.3.16) to the Integration Library application as follows:
Select Applications, then select Enterprise Applications.
Click RoleManagerIntegration.
Select RoleManagerIntegration and then click Reference shared libraries.
Select IntegrationJars and click the right arrow button to move it from the Available list to the Selected list, then click OK.
Add the IntegrationSecurity shared library (created in Section 8.3.16) to the Oracle Identity Manager application as follows:
Select Applications, then select Enterprise Applications.
Click Xellerate.
Select Xellerate and then click Reference shared libraries.
Select IntegrationSecurity and click the right arrow button to move it from the Available list to the Selected list, then click OK.
Click OK, then save your changes.
Copy the Oracle Identity Manager xlDataObjectBeans.jar file as follows:
Note:
This step is necessary each time the Integration Library application is deployed. For clustered server environments, this step must be executed on each server node that is part of XL_CLUSTER.Select Applications, then select Enterprise Applications.
Select RoleManagerIntegration, then click Start.
You should see a message indicating that the application has started successfully.
On the WebSphere node where Oracle Identity Manager resides, find the extracted files from the Oracle Identity Manager EAR file. For example, AppServer1\profiles\AppServer01\installedApps\localCell\Xellerate.ear.
In the top level, find the library file named xlDataObjectBeans.jar.
Copy the xlDataObjectBeans.jar file into the lib folder of the extracted RoleManagerIntegration.ear file. For example, AppServer1\profiles\AppServer01\installedApps\localCell\RoleManagerIntegration.ear\lib.
Copying the JAR file to this directory overwrites the existing file of the same name with an installation-specific JAR file for Oracle Identity Manager.
Restart the application server.