Forms single sign-on example
The following help site sample invokes its own forms-based login. The example shows how a forms single sign-on solution can provide seamless access to the site for its enrolled users.
This section contains:
- A form section, similar to the form sent on the HTML login page returned by the help application
- The custom forms single signon configuration file used to process this form
The form found in the intercepted HTML page:
<form name="confirm" method="post" action="../files/wcls_hnb_welcomePage2.cgi"> <p> Employee Serial Number: <input name="data" size="10" maxlength="6"> <p> Country Name: <select name="Cntselect" size="1"> <OPTION value="notselected" selected>Select Country</OPTION> <OPTION value=675>United Arab Emirates - IBM</OPTION> <OPTION value=866>United Kingdom</OPTION> <OPTION value=897>United States</OPTION> <OPTION value=869>Uruguay</OPTION> <OPTION value=871>Venezuela</OPTION> <OPTION value=852>Vietnam</OPTION> <OPTION value=707>Yugoslavia</OPTION> <OPTION value=825>Zimbabwe</OPTION> </select> <p> <input type=submit value=Submit> </form>The custom configuration file used to process this form:
helpnow FSSO configuration: [forms-sso-login-pages] login-page-stanza = helpnow [helpnow] # The HelpNow site redirects us to this page # we are required to log in. login-page = /bluebase/bin/files/wcls_hnb_welcomePage1.cgi # The login form is the first in the page, so we can just call it # '*'. login-form-action = * # The GSO resource, helpnow, contains the employee serial number. gso-resource = helpnow # Authentication arguments follow. argument-stanza = auth-data [auth-data] # The 'data' field contains the employee serial number. data = gso:username # The Cntselect field contains a number corresponding to the employee's # country of origin. The string "897" corresponds to the USA. Cntselect = string:897Parent topic: Single Sign-on Solutions