Question: Pls help I need to write a program in Java that can do as follows, I think all info is provided that is needed...Thankyou! Write

Pls help I need to write a program in Java that can do as follows, I think all info is provided that is needed...Thankyou! Write a program that simulates a system login process. Prompt the user with a screen similar to following:

1. Login to the system

2. Create an Account

3. Change Password

-------------------------------

If the user the chooses option 1 present them with the following login screen

-------------------LOGIN TO SYSTEM----------------------------

Login name:

...

Password:

Allow them 3 attempts to enter the proper credentials. If they exceed the 3 attempts issue the message "Your account has been locked!" (Don't really lock them out of the account. Just issue the message).

If the user tries to login with a login name that doesn't exist issue the error message: "Non-existing Account!"

and then just return to the login screen.

If the user the chooses option 2 present them with the following screen

-----------------CREATE ACCOUNT------------------------------

Create Username:

Create Password:

You must make sure the Username doesn't already exist. If it does issue an error message indicating such and just re-display the prompt "Create Username:"

When the user creates a password create a class as described in the file below (password.pdf) which will validate password creation.

If the user the chooses option 3 present them with the following login screen

CHANGE PASSWORD

Login name:

Password:

If the user chooses to change their password. First, prompt them to login as usual (allow the typical 3 attempts).

If the user passes the login test then prompt them to change their password using the rules as describe in the file below (password.pdf). However, one additional restriction:

If the user tries to reset their password with a password that they already have used then let issue an error message: "Password cannot be one that was used previously."

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!