|
@ -124,6 +124,8 @@ public class Vault implements VaultInterface { |
|
|
|
|
|
|
|
|
public void credentialMenu() { |
|
|
public void credentialMenu() { |
|
|
StringBuilder sbcm = new StringBuilder(); |
|
|
StringBuilder sbcm = new StringBuilder(); |
|
|
|
|
|
Scanner scan = new Scanner(inputS); |
|
|
|
|
|
credentialM = true; |
|
|
|
|
|
|
|
|
sbcm.append("Configure credentials:\n"); |
|
|
sbcm.append("Configure credentials:\n"); |
|
|
sbcm.append("- add credential: a\n"); |
|
|
sbcm.append("- add credential: a\n"); |
|
@ -131,5 +133,11 @@ public class Vault implements VaultInterface { |
|
|
sbcm.append("- exit: e\n"); |
|
|
sbcm.append("- exit: e\n"); |
|
|
|
|
|
|
|
|
println(sbcm.toString()); |
|
|
println(sbcm.toString()); |
|
|
|
|
|
|
|
|
|
|
|
String input = scan.nextLine(); |
|
|
|
|
|
|
|
|
|
|
|
if (input.equals("e")) { |
|
|
|
|
|
credentialM = false; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |