|
@ -12,6 +12,8 @@ public class Vault implements VaultInterface { |
|
|
public boolean hasSpecialChars; |
|
|
public boolean hasSpecialChars; |
|
|
public boolean hasNumbers; |
|
|
public boolean hasNumbers; |
|
|
public boolean credentialM; |
|
|
public boolean credentialM; |
|
|
|
|
|
public String userName; |
|
|
|
|
|
public String password; |
|
|
InputStream inputS = System.in; |
|
|
InputStream inputS = System.in; |
|
|
OutputStream outputS = System.out; |
|
|
OutputStream outputS = System.out; |
|
|
|
|
|
|
|
@ -72,6 +74,13 @@ public class Vault implements VaultInterface { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void addCredential(){ |
|
|
public void addCredential(){ |
|
|
|
|
|
Scanner scan = new Scanner(inputS); |
|
|
|
|
|
println("Type in username"); |
|
|
|
|
|
userName = scan.nextLine(); |
|
|
|
|
|
|
|
|
|
|
|
println("Type in password"); |
|
|
|
|
|
password = scan.nextLine(); |
|
|
|
|
|
//createNewCredential(userName, password); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|