Novell ACCESS MANAGER 3.1 SP2 - POLICY GUIDE 2010 Manual page 142

Hide thumbs Also See for ACCESS MANAGER 3.1 SP2 - POLICY GUIDE 2010:
Table of Contents

Advertisement

Because the login page does not contain this string, you can use this string to identify the login
failure page. You would add the following string as the value in the text box for the Page Matching
Criteria option for the login failure Form Fill policy.
Please log in again.
To have the Access Gateway ignore white space, left-justify the value in the text box, or to ensure
the correct amount of white space, copy and paste the HTML text directly from the source code of
the Web page.
Using Form Name Criteria
After identifying the page, the Access Gateway needs to identify the form on the page. If there is
only one form on the HTML page, the Access Gateway can easily identify the form. If the form has
a name or an ID attribute, you can use the value of the attribute to identify the form. If the form
doesn't have either of these attributes, you can use the Number option with a value of 1. The first
form the Access Gateway finds on the page matches.
When multiple forms exist on the same HTML page, the easiest and fastest matching method is to
give each form a unique name or unique ID on the HTML page. If the forms have the same name or
ID, you need to use the Number option, and the order in which they appear on the page determines
their number.
The value 0 for the Number option has special meaning. You use this value when you want the Form
Fill policy to fill in values for all forms on the page. Sometimes a page has multiple forms, but all
forms on the page must be filled in before the page can be submitted. For example, one form might
contains user information and another form contain user preferences. If both of these forms need to
be filled in before the user can log in, then you can use the Number option set to 0, and the Fill
Options section of the policy can contain fields for both forms, in the order in which they appear on
the page.
Including JavaScript in a Form Fill Policy
The following figure illustrates a simple form.
Form Login Page
Figure 5-2
The source code for this simple form reveals that it includes JavaScript functions:
142 Novell Access Manager 3.1 SP2 Policy Guide

Advertisement

Table of Contents
loading

Table of Contents