Cannot autosubmit data formfill policy information with Linux Access Gateway

  • 3925869
  • 19-Jan-2007
  • 26-Apr-2012

Environment


Novell Access Management 3 Linux Access Gateway
Novell Access Management 3 Linux Novell Identity Server
Novell Access Management 3 Access Administration

Situation

Back end application included a HTML login form with javascript functions to execute on form submission and on form load

< body onload="body_onload()" bgcolor="#ffffff" link="#0000ff" vlink="#800080" alink="#ff0000">


When reverse proxy'ing this page with the Linux Access Gateway, a formfill policy was added to single sign on to the page. The policy was configured to fill the required fields, and to submit the data. The submit options were set to simply autopost and to Enable JavaScript Handling. The Javascript handling ->'Functions to keep' included some of the javascript functions from the login page e.g. function isValid(). There were no 'Statements to Execute on Submit'.

After authenticating to the Access Gateway and accessing the page, users would never be able to signle sign on. Turning off autosubmit shows that the relevant fields filled properly, but the form is never submitted, and a network trace shows that the form (i.e. action="loginck.php" onSubmit="return isValid();" ...) is never executed.

Resolution

Remove the javascript function names from the Javascript handling ->'Functions to keep' field of the formfill policy. The Linux Access gateway still executes the javascript commands required.

A defect has been entered against this.