When submitting this lab, submit a .java file calledPasswordScanner, and create the following structure in Eclipse:
Your boss has determined that employee passwords need to beupdated and made stronger. The new password policy has thefollowing requirements:
After a couple of weeks, your boss wants to know if all employeepasswords now meet the new requirements. He has given you a textfile (pwd.txt) and asked you to write a program that will scan thefile and create two new files (invalidpwd.txt and validpwd.txt).All invalid passwords from pwd.txt will be written toinvalidpwd.txt and all valid passwords from pwd.txt will be writtento validpwd.txt. Download the Pwd.txt DownloadPwd.txtfile and save it to the directory where you have your Javaproject. Write a program that:
Break down the work of determining if a password is valid bywriting four methods to check for each requirement. Your programshould contain the following four methods:
Special Character List: ['@','#','%','-','&','*']
When submitting this lab, submit a .java file called PasswordScanner, and create the following structure in Eclipse: You
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am