Java Reference
In-Depth Information
5. Enter lines 546 through 575 as shown in Figure 12-43 on page 827.
TextPad displays the code to change the user's password (Figure 12-56).
Because this happens when the user initially logs on with an expired pass-
word, user attributes are set for use by the main Web page, including the
number of remaining uses for an expiring password, whether the user is
an administrator, and the user's stock holdings.
chgPswd()
method
synchronized
code block
session
attributes set
FIGURE 12-56
6. Enter lines 576 through 613 as shown in Figure 12-44 on page 827.
TextPad displays the code to add a new user (Figure 12-57). The new user's
password is set as expired, forcing a change of the password at the user's
next successful log on.
form field
parameters
addUser()
method
user password
expired
FIGURE 12-57
(continued)
 
Search WWH ::




Custom Search