akosiraff

Download PasswordVerify

Feb 19th, 2015
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1.  
  2. Download: http://solutionzip.com/downloads/passwordverify/
  3. Implement a program that uses the Scanner to read a user password and verifies it
  4. meets the following criteria:
  5. •
  6. Is at least 7 characters long
  7. •
  8. Contains at least 1 lower letter character
  9. •
  10. Contains at least 1 upper letter character
  11. •
  12. Contains at least 1 numeric digit
  13. •
  14. Contains at least 1 special character from the set: !@#$%^&*
  15. •
  16. Does not contain the String “text” or the String “book”
  17. Output a string that prompts the user for a password and include the requirements
  18. above in your output.
  19. Output a string that states valid or invalid. If invalid, state which rule above has not
  20. been met.
  21. Utilize the following functionality:
  22. •
  23. indexOf
  24. •
  25. Looping structure
  26. •
  27. charAt()
  28. •
  29. isDigit()
  30. •
  31. isUpperCase()
  32. •
  33. isLowerCase()
  34. •
  35. and any additional functionality needed.
  36. 85%
  37. Download: http://solutionzip.com/downloads/passwordverify/
Add Comment
Please, Sign In to add comment