|
|
@ -30,8 +30,8 @@ public class Vault implements VaultInterface { |
|
|
|
|
|
|
|
sbcm.append("Configure:\n"); |
|
|
|
sbcm.append("- Password length: l\n"); |
|
|
|
sbcm.append("- Have Capitals: h\n"); |
|
|
|
sbcm.append("- Have Special Characters: s\n"); |
|
|
|
sbcm.append("- Have capitals: h\n"); |
|
|
|
sbcm.append("- Have special characters: s\n"); |
|
|
|
sbcm.append("- Have Numbers: n\n"); |
|
|
|
sbcm.append("- exit: e\n"); |
|
|
|
|
|
|
@ -64,10 +64,10 @@ public class Vault implements VaultInterface { |
|
|
|
try { |
|
|
|
PWLength = Integer.parseInt(pwLength); |
|
|
|
} catch (NumberFormatException e) { |
|
|
|
println("Please Enter Valid Number."); |
|
|
|
println("Please enter valid number."); |
|
|
|
} |
|
|
|
|
|
|
|
println("\nNew PWlength is now: "); |
|
|
|
println("\nNew password length is now: "); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -75,9 +75,9 @@ public class Vault implements VaultInterface { |
|
|
|
println("Add user name"); |
|
|
|
|
|
|
|
Scanner scan = new Scanner(inputS); |
|
|
|
String input = scan.nextLine(); |
|
|
|
scan.nextLine(); |
|
|
|
|
|
|
|
userName = input; |
|
|
|
userName = scan.nextLine(); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|