Handle expired passwords

This section explains how to configure GDC behavior to handle an expired password.

Before you begin

To configure the GDC to handle expired passwords, you edit the GDC shortcut. To edit a shortcut, the GDC monitor must be in admin mode. When the GDC uses Universal Rendering, it relies on the Genero Browser Client (GBC) rendering engine. The runtime system transmits the GBC used for Universal Rendering to the GDC. For the latest information on when the GDC uses Universal Rendering versus native rendering, see GDC 5.00 and Genero compatibility.

  1. Determine the string used by your system to inform of an expired password.
    For example, the system may return "Your password has expired".
  2. In the Shortcuts window, select the shortcut and click Edit.
  3. In the Shortcut Wizard, go to the Terminal Strings page and add a new string. (see Figure 1).
    Figure: Setting Your password has expired

    The figure shows panel six of the Genero Desktop Client shortcut wizard with the following entry highlighted: a String of Your password has expired and an Action of show terminal.
    1. Click New.
    2. Set the String to the string used by your system for an expired password, as identified in 1.
      For our example, use "Your password has expired".
      Important:

      The string entered in the String column must match the string displayed by the system. It is case-sensitive, so "Password has expired" does not match "password has expired".

    3. Set the Action to show terminal.
    4. Click Finish.

This rule looks for the expired password string. When encountered, it opens a text dialog window. Internally, the terminal window prompts for a new password from the server, as the existing password has expired. The show terminal action causes the Genero Desktop Client to display the server window, allowing the user to see the message and type in the correct passwords to complete the process. The window then closes and the user can click the shortcut once more and use the new password to start the application.