Details of this Paper

Implement a program that reads in a user password and verifies it meets the following criteria

Description

solution


Question

The file must be called;Example: LastNameFirstNameProg5.java;Ensure you include ALL files required to make your program compile and run.;I would like to see your.java files only.;Proper coding conventions required the first letter of the class start with a capital letter and the first letter of each additional word start with a capital letter.;Main Method;Implement a program that reads in a user password and verifies it meets the following criteria;?Is atleast 8 characters long;?Contains atleast 1 lower letter character;?Contains atleast 1 upper letter character;?Contains atleast 1 numeric digit;?Contains atleast 1 special character from the set: !@#$%^&*;?Does not contain the word ?and? or the word ?end?;Output a string that prompts the user for a password and include the requirements above in your output.;Output a string that states valid or invalid. If invalid, state which rule above has not been met.;Utilize the following functionality;?indexOf;?Looping structure;?charAt();?isDigit();?isUpperCase();?isLowerCase();?and any additional functionality needed.;Comments / Flow Chart / Pseudocode / Style;Comments are REQUIRED, flow charts and Pseudocode are NOT REQUIRED.;Proper coding style is REQUIRED. Refer to the JavaCodingStyle.doc for more information.;Sample Output;Password Verifier;Enter a password that meets the following rules;Password1;Invalid;Missing a special character;-----------------------------------------------------------------;Password Verifier;Enter a password that meets the following rules;Panda123$;Invalid;Contains the string ?and?;-----------------------------------------------------------------;Password Verifier;Enter a password that meets the following rules;Hi;Invalid;Must be at least 8 characters long;Must contain a numeric digit;Must contain a special character;-----------------------------------------------------------------;Password Verifier;Enter a password that meets the following rules;Pa$$word1;Valid

 

Paper#68811 | Written in 18-Jul-2015

Price : $32
SiteLock