Article ID: 955315 - Last Review: July 10, 2008 - Revision: 1.0

How to change the maximum password length for the IAG 3.6 or IAG 2007 logon page

Expand all | Collapse all

SUMMARY

This article describes how to change the maximum password length for the Whale Communications Intelligent Application Gateway (IAG) 3.6 or Microsoft IAG 2007 logon page.

MORE INFORMATION

To change the maximum password length for the IAG logon page, follow these steps:
  1. In Windows Explorer, locate the following file:
    drive:\Whale-Com\e-Gap\von\InternalSite\Login.asp
  2. Open the Login.asp file in Notepad.

    Note We recommend that you back up the Login.asp file before you modify it.
  3. In the Login.asp file, locate the definitions of the HTML forms for the password. For example, the definitions may resemble the following.
    <INPUT class="paramTextbox" TYPE="password" ID="password" NAME="password" maxLength="20" onkeypress="capsDetect(arguments[0]);" size="11">
    Note There are three instances of the password definitions. How the different instances are displayed depends on the trunk authentication scheme. To easily find the instances, search for the following string:
    "password" maxLength
  4. Change the value of the maxLength attribute for all three instances. For example, if you want to set the maximum password length to 30 characters, use the following setting:
    maxLength="30"
  5. Save the Login.asp file.
  6. In Windows Explorer, locate the following file:
    drive:\Whale-Com\e-Gap\von\InternalSite\inc\WhaleRepository.inc
  7. Open the WhaleRepository.inc file in Notepad.

    Note We recommend that you back up the WhaleRepository.inc file before you modify it.
  8. In the WhaleRepository.inc file, locate the CheckCredentials function section.
  9. In the CheckCredentials function, locate the following statement.
    if len(user_name) > 50 or len(password) > 20 then
  10. Modify this statement to set the maximum password length. For example, if you want to set the maximum password length to 30 characters, modify the statement as in the following example:
    if len(user_name) > 50 or len(password) > 30 then
  11. Save the WhaleRepository.inc file.
After you finish these steps, you can back up the new Login.asp file. This backup can be used if an update overwrites your existing Login.asp.

APPLIES TO
  • Intelligent Application Gateway 2007
  • Whale Communications Intelligent Application Gateway 3.6
Keywords: 
kbexpertiseinter kbinfo kbhowto KB955315
 

Article Translations