Class GetPasswordPanel

  • All Implemented Interfaces:
    Referenceable

    public final class GetPasswordPanel
    extends InstallPanelAction
    This action allows setup author to request a password from the end user. Setup author can choose to validate the password against a list of specified passwords (enabling the index feature which allows different passwords to effectively unlock different features) or they can simply store the entered password in a variable (as when requesting a password to be used in a configuration routine).
    • Constructor Detail

      • GetPasswordPanel

        public GetPasswordPanel()
    • Method Detail

      • setStepTitle

        public void setStepTitle​(java.lang.String t)
        sets the step title of the panel.
      • getStepTitle

        public java.lang.String getStepTitle()
        gets the step title of the panel
      • setPrompt

        public void setPrompt​(java.lang.String p)
        Deprecated.
        sets the text to prompt the user for a password 2001.10.16 - We want to store the resourceName and resourcePath so we can use the almighty resource manager.
      • getPrompt

        public java.lang.String getPrompt()
        gets the text to prompt the user for a password
      • setAdditionalText

        public void setAdditionalText​(java.lang.String at)
        sets the instruction for the end users to enter a password
      • getAdditionalText

        public java.lang.String getAdditionalText()
        gets the instruction for end users to enter a password
      • setPasswordEntered

        public void setPasswordEntered​(java.lang.String v)
        sets the variable that user entered password would be stored in.
      • getPasswordEntered

        public java.lang.String getPasswordEntered()
        gets the variable that user entered password would be stored in.
      • setMatchingPasswordInd

        public void setMatchingPasswordInd​(java.lang.String i)
        sets the variable to store the index of the matching password
      • getMatchingPasswordInd

        public java.lang.String getMatchingPasswordInd()
        gets the variable to store the index of the matching password
      • setPasswordsList

        public void setPasswordsList​(java.util.Vector<java.lang.String> pl)
        sets the password list.
      • getPasswordsList

        public java.util.Vector<java.lang.String> getPasswordsList()
        gets the password list.
      • setAllowBlankInput

        public void setAllowBlankInput​(boolean pl)
        set whether the panel should allow bank inputs.
      • getAllowBlankInput

        public boolean getAllowBlankInput()
        get whether the panel should allow bank inputs.
      • getUseEchoCharacter

        public boolean getUseEchoCharacter()
        gets whether the panel should use echo characters when password is entered.
      • setUseEchoCharacter

        public void setUseEchoCharacter​(boolean use)
        sets whether the panel should use echo characters when password is entered.
      • getEchoCharacter

        public char getEchoCharacter()
        gets the echo character when password is entered
      • setEchoCharacter

        public void setEchoCharacter​(char echo)
        sets the echo character when password is entered
      • getValidatePassword

        public boolean getValidatePassword()
        gets whether or not the panel should validate password.
      • setValidatePassword

        public void setValidatePassword​(boolean validatePassword)
        sets whether or not the panel should validate password.