Oracle® Role Manager Integration Guide Release 10g (10.1.4) Part Number E12030-05 |
|
|
View PDF |
This chapter contains procedures for configuring the WebLogic application servers for Oracle Identity Manager (Identity Manager) and Oracle Role Manager (Role Manager) in preparation for deployment of the Oracle Role Manager Integration Library (Integration Library).
This chapter includes the following sections:
The Role Manager Integration Library is intended to be deployed on the application server on which Identity Manager is deployed. The procedures in this chapter assume the following:
You have the access to the files distributed in ORMINT_HOME.
You have the appropriate permission to add and modify files in the application servers where Identity Manager and Role Manager are deployed.
You have the appropriate permission to stop and start the application servers where Identity Manager and Role Manager are deployed.
You have access to the WebLogic Server Console and know the administrator user ID and password for the domains where Identity Manager and Role Manager are deployed.
For clustered environments, the managed servers in the cluster can be started and stopped remotely on the admin console.
This procedure assumes that a WebLogic server and domain have been created for Role Manager with a host alias set for port access to Role Manager.
This section includes the following subsections:
(Clustered Mode Only) Configuring the Subdeployment of the Connection Factory
(Clustered Mode Only) Disabling Authentication on the Oracle Role Manager Node
To configure the JMS module connection factory:
If not currently on the WebLogic Server Console, in a Web browser, enter the URL. For example:
http://appserverhost:7001/console
From Services, select Messaging, then select JMS Modules.
Click ORM JMSModule.
Click New.
Select the Connection Factory option.
Click Next.
In the Name field, enter OIM ConnectionFactory
.
In the JNDI Name field, enter external/srqueues/orm/QueueConnectionFactory
.
Click Next, then click Finish.
To configure the foreign JNDI providers:
From Services, select Foreign JNDI Providers.
Click New.
In the Name field, enter Remote OIM ForeignJNDIProvider
.
Click OK.
To edit the settings, click Remote OIM ForeignJNDIProvider.
In the Initial Context Factory field, enter weblogic.jndi.WLInitialContextFactory
.
In the Provider URL field, enter t3://
oim_ipaddress
:
oim_port
where
oim_ipaddress
is the IP address of the Identity Manager application server host
oim_port
is the port for access to the Identity Manager server
Note:
If you a configuring a clustered server environment, the URL must be in the formt3://
oim_ipaddress1:
port
,t3://
oim_ipaddress2:
port
In the User field, enter Internal
.
In the Password field, enter the password of the Internal user (created in Section 4.2).
Click Save.
Configure the Remote OIM Connection Factory as follows:
From Services, select Foreign JNDI Providers.
On the Links tab, click New.
In the Name field, enter RoleUpdateQCF
.
In the Local JNDI Name field, enter oim/OIMserver/QueueConnectionFactory
.
In the Remote JNDI Name field, enter oim/OIMserver/QueueConnectionFactory
.
Click OK.
Configure the Remote OIM Queue as follows:
From Services, select ForeignJNDI Providers.
On the Links tab, click New.
In the Name field, enter RoleUpdateQueue
.
In the Local JNDI Name field, enter oim/OIMserver/RoleManagerQueue
.
In the Remote JNDI Name field, enter oim/OIMserver/RoleManagerQueue
.
Click OK.
To configure the credentials:
Click the domain on which Role Manager is deployed.
On the Security tab, expand Advanced.
Clear any text in the Credential field.
In the Credential field, enter the domain credential of the Identity Manager server.
Note:
The domain credential is generated when the server is started and ensures that by default no two WebLogic server domains have the same credential. In this case, the same credentials are entered for both Identity Manager and Role Manager.In the Confirm Credential field, enter the credential again.
Click Apply and save your changes.
Restart the Role Manager server for these changes to be in effect.
Note:
In you are configuring a clustered environment, perform this procedure for each managed server.To change the subdeployment of the Identity Manager connection factory:
In the domain tree, select Services, then select Messaging.
Select JMS Modules, then click ORM JMS Module.
Click OIM ConnectionFactory.
Deselect the Default Targeting Enabled box, then click Save.
Click the Subdeployment tab.
In the Subdeployment list, select cf-sub.
Click Save.
This procedure disables transaction authentication for Role Manager transactions. Disabling transaction authentication is required when the node manager is not accepting connection due to wrong certificate configuration.
Note:
In you are configuring a clustered environment, perform this procedure for each managed node.To disable authentication on the Role Manager node:
Navigate to WEBLOGIC_HOME
\common\nodemanager
folder and edit the nodemanager.properties file.
Change the value of the AuthenticationEnabled
property to false
.
Restart all the servers on the Role Manager domain including the admin server.
This procedure assumes that a WebLogic server and domain has been created for Identity Manager.
For clustered environments, it is assumed that the managed servers in the cluster can be started and stopped remotely on the admin console and that the Integration Library software has been distributed on all managed nodes.
This section includes the following subsections:
(Nonclustered Mode Only) Configuring JMS Queues and Connection Factories
(Clustered Mode Only) Adding the Integration Library System Properties
If you are invoking Identity Manager using a startup script, you must edit the script to include the path to the Integration Library software before you can start using the Role Manager Integration Library. Making this change before the Integration Library software is deployed does not affect the operation of Identity Manager until it is restarted.
For UNIX-based systems, to modify the startup script:
On the Identity Manager host, navigate to the domain on which Identity Manager is deployed. For example, WEBLOGIC_HOME/user_projects/domains/mydomain.
Open the xlStartWLS.sh file for editing
Note:
If you have a managed server environment where the server is started from this script, open the xlstartManagedWebLogic.sh file instead.In the entry for JAVA_OPTIONS, add a backslash (\) at the end of the -Djava.awt.headless=true argument.
Add the following argument to the end of the JAVA_OPTIONS entry:
-DORMINT_ROOT_DIR=ORMINT_HOME
where ORMINT_HOME is the full path to the home directory of the Role Manager Integration Library.
The complete entry might be similar to:
JAVA_OPTIONS="-DXL.HomeDir=$XLHOME \ -Djava.security.auth.login.config=$XLHOME/config/authwl.conf \ -Dlog4j.configuration=file:$XLHOME/config/log.properties \ -Djava.awt.headless=true \ -DORMINT_ROOT_DIR=/opt/ormintegration"
Save and close the start script.
Restart the Identity Manager server for these changes to be in effect.
For Windows-based systems, to modify the startup script:
On the Identity Manager host, navigate to the domain on which Identity Manager is deployed. For example, WEBLOGIC_HOME/user_projects/domains/mydomain.
Open the xlStartWLS.bat file for editing:
Note:
If you have a managed server environment where the server is started from this script, open the xlstartManagedWebLogic.cmd file instead.In the entry for JAVA_OPTIONS, add a caret (^) at the end of the -Djava.awt.headless=true argument.
Add the following argument to the end of the JAVA_OPTIONS entry:
-DORMINT_ROOT_DIR=ORMINT_HOME
where ORMINT_HOME is the full path to the home directory of the Role Manager Integration Library.
The complete entry might be similar to:
SET JAVA_OPTIONS=-DXL.HomeDir=%XLHOME% ^ -Djava.security.auth.login.config=%XLHOME%\config\authwl.conf ^ -Dlog4j.configuration=file:/%XLHOME%/config/log.properties ^ -Djava.awt.headless=true ^ -DORMINT_ROOT_DIR=C:\ormintegration
Save and close the start script.
Restart the Identity Manager server for these changes to be in effect.
Some libraries must be added to either the system classpath or to the WebLogic start script. The following procedure describes how to modify the start script, although you can optionally modify the system classpath if you prefer.
Note:
In a clustered server environment, perform this procedure on all managed nodes.To configure the classpath in the WebLogic start script
On the file system where Identity Manager is deployed, create the following directory if it does not exist:
OIM_appserver/jdk/jre/lib/endorsed
where OIM_appserver/jdk
is the JDK directory for WebLogic, either Sun JDK or WebLogic JRockit.
Copy the following libraries into the endorsed
directory:
ORMINT_HOME/lib/xercesImpl.jar ORMINT_HOME/lib/xml-apis.jar
On the file system where Identity Manager is deployed, navigate to the domain directory that contains the server for Identity Manager. For example, OIM_appserver
/user_projects/domains/oimdomain
.
For Windows systems, open the xlStartWLS.cmd file for editing.
Note:
If you have a managed server environment, open the xlstartManagedWebLogic.cmd file instead.For UNIX-based systems, open the xlstartWLS.sh file for editing.
Note:
If you have a managed server environment , open the xlstartManagedWebLogic.sh ifile nstead.Add the following libraries to the CLASSPATH environment setting:
ORMINT_HOME/lib/commons-logging.jar ORMINT_HOME/lib/orm_encryption.jar ORMINT_HOME/lib/server_api_14.jar
Save and close the start script.
Restart the Identity Manager server.
To configure JMS queues and connection factories:
Configure a JMS queue connection factory as follows:
From Services, select Messaging, then select JMS Modules.
Click New.
In the Name field, enter OIM-ORM JMS Module
, then click Next.
Assign the new JMS module to the Identity Manager cluster, for example OIM_Cluster, then click Next.
Click Next.
Select the Would you like to add resources box, then click Finish.
On the Settings page, click New.
Select ConnectionFactory, then click Next.
In the Name field, enter ormJMSConnectionFactory
.
In the JNDI Name field, enter /oim/OIMserver/QueueConnectionFactory
.
Click Next, then click Finish.
Select the Identity Manager cluster as the target, for example, OIM_Cluster, then click Apply.
Configure a JMS server for each Identity Manager managed server as follows:
From Services, select Messaging, then select JMS Servers.
Click New.
In the Name field, enter ORMIntegration1
, then click Next.
Click Finish.
Select the Targets tab and assign the JMS server to the first Identity Manager managed server, for example, OIM_Server1.
Click Save.
Repeat these steps for each managed server. For example, create ORMIntegration2 and assign it to OIM_Server2, and so on.
Configure a distributed JMS queue as follows:
From Services, select Messaging, then select JMS Modules.
Click OIM-ORM JMS Module, then click New.
Select Distributed Queue, then click Next.
In the Name field, enter ormJMSQueue
.
In the JNDI Name field, enter oim/OIMserver/RoleManagerQueue
.
Click Next.
Click Advanced Targeting.
Click Create a New Subdeployment.
In the Subdeployment Name field, enter ormJMSQueue subdeployment
.
Click Next.
Select the Targets tab select each of the JMS servers created in step 2. For example, ORMIntegration1 and ORMIntegration2.
Click Finish.
To configure JMS queues and connection factories:
Configure a JMS queue connection factory as follows:
From Services, select Messaging, then select JMS Modules.
Click New.
In the Name field, enter OIM-ORM JMS Module
, then click Next.
Assign the new module to AdminServer, then click Next.
Select the Would you like to add resources box, then click Finish.
On the Settings page, click New.
Select ConnectionFactory, then click Next.
In the Name field, enter ormJMSConnectionFactory
.
In the JNDI Name field, enter /oim/OIMserver/QueueConnectionFactory
.
Click Next, then click Finish.
Configure a JMS server as follows:
From Services, select Messaging, then select JMS Servers.
Click New.
In the Name field, enter ORMIntegration
, then click Next.
Click Finish.
Click ORMIntegration.
Select the Targets tab and assign the new server to AdminServer.
Click Save.
Configure a JMS queue as follows:
From Services, select Messaging, then select JMS Modules.
Click OIM-ORM JMS Module, then click New.
Select Queue, then click Next.
In the Name field, enter ormJMSQueue
.
In the JNDI Name field, enter oim/OIMserver/RoleManagerQueue
.
Click Next.
Click Create a New Subdeployment.
In the Subdeployment Name field, enter ormJMSQueue subdeployment
.
Click Next.
Select the Targets tab select ORMIntegration as the JMS Server.
Click Finish.
To configure Foreign JMS queues and connection factories:
Configure a foreign JNDI provider as follows:
From Services, select Foreign JNDI Providers, then click New.
In the Name field, enter OIM ORM server
.
Click OK.
Click OIM ORM server.
In the JNDI Initial Context Factory field, enter weblogic.jndi.WLInitialContextFactory
.
In the Provider URL field, enter t3://
orm_ipaddress
:
orm_port
where
orm_ipaddress
is the IP address of the Role Manager application server host
orm_port
is the port for access to the Role Manager server.
Note:
If you a configuring a clustered server environment, the URL must be in the formt3://
oim_ipaddress1:
port
,t3://
oim_ipaddress2:
port
In the User field, enter the user name of the WebLogic Administrator.
In the Password field and Confirm Password field, enter the password of the WebLogic Administrator.
Click Save.
Configure foreign JNDI links as follows:
From Services, select Foreign JNDI Providers.
Click OIM ORM server.
On the Links tab, click New.
In the Name field, enter OIMORMQueueConnectionFactory
.
In the Local JNDI Name field, enter external/srqueues/orm/QueueConnectionFactory
.
In the Remote JNDI Name field, enter external/srqueues/orm/QueueConnectionFactory
.
Note:
The locale and remote JNDI names must be the same as the JNDI name set in Section 5.2.1, "Configuring the JMS Connection Factory."Click OK.
On the Links tab, click New.
In the Name field, enter OIM ORM Queue
.
In the Local JNDI Name field, enter orm/queue/IncomingEventQueue
.
In the Remote JNDI Name field, enter orm/queue/IncomingEventQueue
.
Click OK.
Click the domain where the Identity Manager server resides.
On the Security tab, expand the Advanced link at the bottom of the page.
In the Credential field, clear any existing credential, then enter the same domain credential that was used for the Role Manager server (see step 4 of Section 5.2.3).
Note:
The domain credential is generated when the server is started and ensures that by default no two WebLogic server domains have the same credential. In this case, the same credentials are entered for both Identity Manager and Role Manager.In the Confirm Credential field, enter the credential again.
Click Save.
Note:
Perform this procedure on all managed nodes.To add the Integration Library JVM system properties:
Log on to the WebLogic Server Console using a Web browser.
For each managed server, configure the system properties as follows:
On the Identity Manager domain of the primary node, select the domain name, then select Servers.
Select the first managed server, for example, OIM_Server1.
On the Configuration tab, click the Server Start subtab.
In the ClassPath field, add the following Integration Library paths to the existing classpath settings:
<ORMINT_HOME>\lib\commons-logging.jar <ORMINT_HOME>\lib\orm-encryption.jar <ORMINT_HOME>\lib\server_api_14.jar
In the Arguments field, append the following argument to any existing arguments:
-DORMINT_ROOT_DIR=ORMINT_HOME
where ORMINT_HOME
is the Integration Library installation directory. For example, C:/ORMINT_HOME.
Click Apply and save your changes.
Start the node manager on each managed server, then start each managed server.
To deploy the Integration Library application:
From the Identity Manager host, connect to the WebLogic Server Console in a Web browser. For example:
http://appserverhost:7001/console
Select Deployments, then select Applications.
Click Deploy a new Application.
Choose Upload your Files, then click Browse to navigate to the ORMINT_HOME/lib directory.
Select roleManagerIntegration_WebLogic10.3.ear, then click Continue.
If you are configuring a clustered server environment, in the Target list, select OIM cluster.
Ensure that the name in the Name field is set as roleManagerIntegration, then click Deploy.
In the Status of Last Action column, you should see indication of successful deployment
If you have a clustered server environment, restart the admin server and all managed servers.