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:

  1. 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
  2. Go to the section of your application
  3. 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.
  4. Log into the OAM Administration Console.
  5. Under Policy Configuration, go to Authentication Schemes –> LDAPScheme. Double-click on LDAPScheme
  6. In the box next to “Challenge Parameters”, type in:
    • “ssoCookie=disablehttponly”
  7. Click Apply
  8. 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”.
  9. Click the Create button on top of the current results.
  10. 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
  11. Click Apply in this page as well.
  12. 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.
  13. 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.).
  14. Add the following at the end of the file:
    • <Location /forms>
      SetHandler weblogic-handler
      WebLogicHost server.domain
      WebLogicPort 9001
    • <Location /reports>
      SetHandler weblogic-handler
      WebLogicHost server.domain
      WebLogicPort 9002
  15. Save and close the file.
  16. Restart your OHS WebGate instance.

Reference: See Oracle Support Document ID 1441904.1 for more information regarding this topic.