Create a "login - to - website" form/sevlet combo,
with the following features:
New User? Returning User? Forgotten ID? Forgotten Password?
In the New User screen:
"first Name", "lastName", "date-of-birth as dd/mm/yyyy" "userName"
"email ID" "Password" "confirm Password" "lost password Question"
"lost Password Answer"
This information is gathered for each user,
and stored in a text file, one record per line.
Field separator: # sign
When an "email ID" and userName are received, they are checked in the
existing file of records.
If they are found to be unique, only in that case is this entire
record appended to the end of the file.
If they are not unique, the user is informed that he/she must try again.
After a record has been appended, the entire file is sorted on the
basis of "userName".
Thus searches become efficient.
Passwords must satisfy certain conditions: they must be at least 8
characters long, they must contain
both uppercase and lowercase characters, as will as digits,
as well as exactly one of these characters "> ) $ %".
The "confirm Password" must work as expected. If it doesn't
the user must be asked to re-enter the
password two times again. The procedure must be repeated
until satisfactory inputs have been received.
If a user has forgotten any of their details, they must be
asked their "first Name", "lastName", "date-of-birth" and "email-ID"
and the answer to their security question, and then sent
their details by email.