Class PromptPasswordState

  • All Implemented Interfaces:
    State

    public class PromptPasswordState
    extends Object
    implements State
    State to prompt the user for a password

    This state handles password validation by let the user re-enter the password in case of the password mismatch the user will be present for an error and will re-enter the PromptPasswordState again

    • Constructor Detail

      • PromptPasswordState

        public PromptPasswordState​(ConsoleWrapper theConsole,
                                   StateValues stateValues,
                                   boolean rePrompt)