Saturday 22 September 2018

Enabling White List Mode in Oracle Access Manager

OAM: Enable White Listing mode

                       We are going to cover about the commands that can be used to enable White listing of URLs in OAM and enable it on OAM Protected applications. This white listing of URLs helps to avoid re-directions to external sites/URLs that are not registered with OAM.

Environment:
OAM 11.1.2.3BP07
RHEL6/OEL6
Steps:

      Enabling and configuring White-listing  mode is very simple and just requires the
     following acitivites.

Enable OAM White listing Mode
Adding/Removing URLs to/from the list of White listed URLs

1. Enable OAM White listing Mode:
Login to the server that contains installation of OAM component
Browse to the following directory
<Oracle_IDM_Home>/common/bin
Execute the following commands
./wlst.sh
connect('weblogic','password','t3://oamhost:7001'>)
domainRuntime()
oamSetWhiteListMode(oamWhiteListMode="true")
This returns the success message as shown below.


2. Adding/Removing URLs to/from the list of White listed URLs :
Execute the below command to add a URL to the list
oamWhiteListURLConfig(Name="SampleApplication",Value="http://Sample Application ,Operation="Update")  

Execute the below command to remove a URL from the list
oamWhiteListURLConfig(Name="SampleApplication",Value="http://Sample Application ,Operation="Remove")  


                            






Thanks,
Aditya






No comments:

Post a Comment