How to Integrate Oracle Forms with WebGate 11g
In Oracle Access Manager 11g and Oracle Forms 11gR2, you may either use WebGate or mod_osso as your authentication agent for single sign-on with your Oracle Forms application. In order to configure Forms with WebGate, you will need to run the following steps:
- Open formsweb.cfg either through Enterprise Manager FMW Control (Forms –> Web Configuration) or going to the file in %DOMAIN_HOME%\config\fmwconfig\servers\WLS_FORMS\applications\formsapp_11.1.2\config\formsweb.cfg
- Go to the section of your application
- If editing formsweb.cfg manually, add the parameter “ssoMode=webgate”. If editing from Enterprise Manager, go to the sso section from the drop-down menu and type in “webgate” in the ssoMode parameter. Save or apply all changes.
- Log into the OAM Administration Console.
- Under Policy Configuration, go to Authentication Schemes –> LDAPScheme. Double-click on LDAPScheme
- In the box next to “Challenge Parameters”, type in:
- “ssoCookie=disablehttponly”
- Click Apply
- In your Resources for the 11g WebGate under “Application Domains” (still in Policy Configuration), click “Search” to pull up all resources. Change the Authentication Policy and Authorization Policy for both / and /…/* to “Public Resource Policy”.
- Click the Create button on top of the current results.
- Enter in the following:
- Type: HTTP
- Host Identifier: Your WebGate Host Identifier. NOTE: It should NOT be IAMSuiteAgent
- Resource URL: /forms/frmservlet?*oamMode=true*
- Protection Level: Protected
- Authentication Policy: Protected Resource Policy
- Authorization Policy: Protected Resource Policy
- Click Apply
- Click Apply in this page as well.
- Recopy the ObAccessClient.xml and cwallet.sso files to %OAM_MIDDLEWARE_HOME%\ohs_home\instances\ohs_webgate11g\config\OHS\ohs1\webgate\config from the %OAM_DOMAIN_HOME%\output\OAM11g_WebGate directory.
- Open up %OAM_MIDDLEWARE_HOME%\ohs_home\instances\webgate11g\config\OHS\ohs1\mod_wl_ohs.conf in a text editor (NOTE: Please make a backup of this file before making any modifications to it.).
- Add the following at the end of the file:
- <Location /forms>
SetHandler weblogic-handler
WebLogicHost server.domain
WebLogicPort 9001
</Location> - <Location /reports>
SetHandler weblogic-handler
WebLogicHost server.domain
WebLogicPort 9002
</Location>
- <Location /forms>
- Save and close the file.
- Restart your OHS WebGate instance.
Reference: See Oracle Support Document ID 1441904.1 for more information regarding this topic.