Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public boolean validifyUser(){
- //Scanner input = new Scanner(sourceFile); //THIS IS PSEUDOCODE FOR PULLING THE DOCUMENT
- while (input.hasNext())
- String verify = input.nextLine();
- String[] splitUser = splitUser.split(" ");
- String nameVerify = splitUser[0];
- String passVerify = splitUser[1];
- if (userName == nameVerify){
- if (userPass == passVerify){
- return true;
- }
- else
- return false;
- }
- }
Add Comment
Please, Sign In to add comment