Software Prerequisites Oracle Fusion Middleware Online Documentation Library

26-6 Oracle Fusion Middleware Developers Guide for Oracle Identity Manager get Credential store oracle.security.jps.JpsContext ctx = oracle.security.jps.JpsContextFactory.getContextFactory.getContext; final oracle.security.jps.service.credstore.CredentialStore cs = oracle.security.jps.service.credstore.CredentialStorectx.getServiceInstan ce oracle.security.jps.service.credstore.CredentialStore.class; get Credential oracle.security.jps.service.credstore.CredentialMap cmap = cs.getCredentialMaporacle.oim.sysadminMap; oracle.security.jps.service.credstore.Credential cred = cmap.getCredentialsysadmin;

b. Login as system administrator.

The environment is setup, and then logged in to Oracle Identity Manager as system administrator. This is shown in the following code snippet: setup the environment String oimInitialContextFactory = weblogic.jndi.WLInitialContextFactory; java.util.Hashtable env = new java.util.Hashtable; env.putoracle.iam.platform.OIMClient.JAVA_NAMING_FACTORY_INITIAL, oimInitialContextFactory; env.putoracle.iam.platform.OIMClient.JAVA_NAMING_PROVIDER_URL, oimURL; login to OIM oracle.iam.platform.OIMClient client = new oracle.iam.platform.OIMClientenv; client.loginoimUserName, oimPassword.toCharArray; System.out.printlnLogin Successful;

c. Retrieve the organization administrator and the role approver.

This is done by using the following Oracle Identity Manager APIs: oracle.iam.request.api.RequestService: Used to retrieve the request object Thor.API.Operations.tcOrganizationOperationsIntf: Used to retrieve the organization administrator oracle.iam.identity.usermgmt.api.UserManager: Used to retrieve the role approver

26.2.4 Deploying the SOA Composite

Before deploying the SOA composite, set the BPELClasspath property in the System MBean Browser of the Enterprise Manager. After updating the composite, you must deploy the composite to SOA. To do so:

1. In the Projects section, right-click the composite name, and select Deploy.

2. Select the DefaultRequestApproval ... option. A wizard is displayed that prompts you to select the application server on which the composite is to be deployed. Make sure you select the application server connection created earlier. In addition, select the Override any existing composites with the same revision ID option if you want to override the composite that is already deployed. See Also: Oracle Fusion Middleware Java API Reference for Oracle Identity Manager for information about Oracle Identity Manager APIs