| Oracle® Fusion Middleware Developer's Guide for Oracle Adaptive Access Manager Release 11g (11.1.1) Part Number E15480-02 |
|
|
View PDF |
The chapter provides information on how to customize Oracle Adaptive Access Manager by using the Oracle Adaptive Access Manager Extensions Shared Library.
It contains the following sections:
Shared libraries are collections of programming and data that can be used by multiple applications. They can permit applications to use memory efficiently by sharing common programming and resources.
You can customize Oracle Adaptive Access Manager by adding custom jars and files to the Oracle Adaptive Access Manager Extensions Shared Library.
This shared library, a war file named oracle.oaam.extensions, is deployed in both OAAM Server and OAAM Admin Server.
By default oracle.oaam.extensions.war is empty and does not contain any files except the MANIFEST.MF that has the definition of the shared library.
Follow these steps to add customizations to Oracle Adaptive Access Manager:
Create a work folder called oaam-extensions.
The folder can be created anywhere as long as it is outside the installation folder.
In the oaam-extensions folder, create the following subfolders:
META-INF
WEB-INF
WEB-INF\lib
WEB-INF\classes
In the META-INF folder, create a file named MANIFEST.MF and add the following lines:
Extension-Name: oracle.oaam.extensions Specification-Version:99.9.9.9.9 Implementation-Version:99.9.9.9.9
Compile custom java classes that extend or implement Oracle Adaptive Access Manager classes, adding the jars from $ORACLE_IDM_HOME\oaam\cli\lib folder to the build class path.
Add custom jars and files as described:
Add the custom jars to the oaam-extensions\WEB-INF\lib folder.
Add custom properties to a file named bharosa_server.properties and save it in the oaam-extensions\WEB-INF\classes folder.
Add custom JSPs to oaam-extensions folder.
Rejar oracle.oaam.extensions.war using the command from the parent folder of oaam-extensions:
jar -cvfm oracle.oaam.extensions.war oaam-extensions\META-INF\MANIFEST.MF -C oaam-extensions/ .
Start the WebLogic Server where Oracle Adaptive Access Manager is deployed and log into the WebLogic Administration Console.
Deploy the oracle.oaam.extensions.war file created in Step 6 as a Shared Library with oaam_server and oaam_admin as target applications.
Test the custom functionality and make sure files added to oracle.oaam.extensions.war are used by Oracle Adaptive Access Manager applications.