Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

a class that verifies that a password meets a stated criteria. The Password class should define a static String constant that stores the password criteria

a class that verifies that a password meets a stated criteria. The Password class should define a static String constant that stores the password criteria noted below. The class also defines a static validate method that receives a String password as a parameter. The validate method returns Valid password when the parameter String meets all criteria. For all criteria not met, the validate method returns a String containing the criteria violated. Also develop a test Client class that requests a password from the end user and uses the Password class to determine whether or not the given password is valid. Details are reported back to the end user. The end user should be able to test any number of passwords. Password criteria: Must contain a minimum of 8 characters. Must not contain spaces. Must contain at least one upper case letter. Must contain at least one lower case letter. Must contain at least one number or special character. Example run: This program will test passwords against the fallowing rules Must contain a minimum of 8 characters. Must not contain spaces. Must contain at least one uppercase letter. Must contain at least one lowercase letter. Must contain at least one number or special character. Enter a password to test (quit to end): what Invalid password. Must contain a minimum of 8 characters. Must contain at least one lowercase letter. Must contain at least one number or special character.

if you need more details leave a comment

My question is can you write this in java fallowing all directions specified and use JGrasp to write it (please keep it basic nothing advanced thank you)?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Define Management or What is Management?

Answered: 1 week ago

Question

What do you understand by MBO?

Answered: 1 week ago

Question

What is meant by planning or define planning?

Answered: 1 week ago