Using Oracle Adaptive Access Manager Shared Library in Web Applications

4-2 Oracle Fusion Middleware Developers Guide for Oracle Adaptive Access Manager library-nameoracle.oaam.libslibrary-name library-ref

4.1.3 CustomizingExtendingOverriding Oracle Adaptive Access Manager Properties

To override any Oracle Adaptive Access Manager properties or extend Oracle Adaptive Access Manager enumerations, add those properties and enumerations to bharosa_server.properties and place that file in WEB-INF\classes folder of the native web application. For instructions on customizing, extending, or overriding Oracle Adaptive Access Manager properties, refer to Chapter 7, Customizing Oracle Adaptive Access Manager.

4.2 OAAM Java InProc Integration

Follow these steps: 1. Make sure you have set the reference to OAAM shared library oracle.oaam.libs. 2. To override any Oracle Adaptive Access Manager properties or extend Oracle Adaptive Access Manager enumerations, add those properties and enumerations to bharosa_server.properties and place that file in the WEB-INF\classes folder of the native web application. 3. Set up OAAM Data Source with the JNDI name as jdbcOAAM_SERVER_DB_DS and point it to the OAAM database.

4.3 OAAM SOAP Integration

To call the OAAM APIs via SOAP instead of inproc, follow these steps in these sections.

4.3.1 Set up SOAP Security

Setup SOAP User on WebLogic Server and OWSM Policy Out-of-the-box, OAAM publishes Web services at the URL: oaam_ serverservices. This URL is protected with HTTP Basic authentication. Create a user that will be used for SOAP authentication, and add that user in the proper group. This user can access this URL. The user must be in the OAAMSOAPServicesGroup group. To set up the OWSM Policy to set HTTP Basic Authentication on oaam_ serverservices follow these steps: 1. Log in to Enterprise Manager using the URL http:weblogic-admin-hostname:portem. 2. Under weblogic_domain, select the domain and select oaam_server_ server1 under that and right click and select the Web Services option. 3. Click the Attach Policies link in top right area.

4. Select all the rows corresponding to OAAM Web Services and click the Next

button 5. To enable SOAP Authentication: