|
@ -11,6 +11,7 @@ public class Vault implements VaultInterface { |
|
|
public boolean haveCapitals; |
|
|
public boolean haveCapitals; |
|
|
public boolean hasSpecialChars; |
|
|
public boolean hasSpecialChars; |
|
|
public boolean hasNumbers; |
|
|
public boolean hasNumbers; |
|
|
|
|
|
public String userName; |
|
|
InputStream inputS = System.in; |
|
|
InputStream inputS = System.in; |
|
|
OutputStream outputS = System.out; |
|
|
OutputStream outputS = System.out; |
|
|
|
|
|
|
|
@ -61,6 +62,13 @@ public class Vault implements VaultInterface { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void addCredential(){ |
|
|
public void addCredential(){ |
|
|
|
|
|
println("Add user name"); |
|
|
|
|
|
|
|
|
|
|
|
Scanner scan = new Scanner(inputS); |
|
|
|
|
|
String input = scan.nextLine(); |
|
|
|
|
|
|
|
|
|
|
|
userName = input; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|