|
|
@ -6,6 +6,7 @@ import java.util.Scanner; |
|
|
|
|
|
|
|
public class Vault implements VaultInterface { |
|
|
|
|
|
|
|
public boolean config; |
|
|
|
InputStream inputS = System.in; |
|
|
|
OutputStream outputS = System.out; |
|
|
|
|
|
|
@ -19,7 +20,8 @@ public class Vault implements VaultInterface { |
|
|
|
|
|
|
|
public void configure(){ |
|
|
|
StringBuilder sbcm = new StringBuilder(); |
|
|
|
//Scanner scan = new Scanner(inputS); |
|
|
|
Scanner scan = new Scanner(inputS); |
|
|
|
config = true; |
|
|
|
|
|
|
|
sbcm.append("Configure:\n"); |
|
|
|
sbcm.append("- Passwordlength: l\n"); |
|
|
@ -28,6 +30,13 @@ public class Vault implements VaultInterface { |
|
|
|
|
|
|
|
println(sbcm.toString()); |
|
|
|
|
|
|
|
String input = scan.nextLine(); |
|
|
|
|
|
|
|
if (input.equals("e")) { |
|
|
|
config = false; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
public void addCredential(){ |
|
|
|