Package com.zerog.ia.auto.project.panels
Class GetPasswordPanel
- java.lang.Object
-
- com.zerog.ia.auto.project.ProjectObject
-
- com.zerog.ia.auto.project.InstallableObject
-
- com.zerog.ia.auto.project.panels.InstallPanelAction
-
- com.zerog.ia.auto.project.panels.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 Summary
Constructors Constructor Description GetPasswordPanel()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
getAdditionalText()
gets the instruction for end users to enter a passwordboolean
getAllowBlankInput()
get whether the panel should allow bank inputs.char
getEchoCharacter()
gets the echo character when password is enteredjava.lang.String
getMatchingPasswordInd()
gets the variable to store the index of the matching passwordjava.lang.String
getPasswordEntered()
gets the variable that user entered password would be stored in.java.util.Vector<java.lang.String>
getPasswordsList()
gets the password list.java.lang.String
getPrompt()
gets the text to prompt the user for a passwordjava.lang.String
getStepTitle()
gets the step title of the panelboolean
getUseEchoCharacter()
gets whether the panel should use echo characters when password is entered.boolean
getValidatePassword()
gets whether or not the panel should validate password.void
setAdditionalText(java.lang.String at)
sets the instruction for the end users to enter a passwordvoid
setAllowBlankInput(boolean pl)
set whether the panel should allow bank inputs.void
setEchoCharacter(char echo)
sets the echo character when password is enteredvoid
setMatchingPasswordInd(java.lang.String i)
sets the variable to store the index of the matching passwordvoid
setPasswordEntered(java.lang.String v)
sets the variable that user entered password would be stored in.void
setPasswordsList(java.util.Vector<java.lang.String> pl)
sets the password list.void
setPrompt(java.lang.String p)
Deprecated.void
setStepTitle(java.lang.String t)
sets the step title of the panel.void
setUseEchoCharacter(boolean use)
sets whether the panel should use echo characters when password is entered.void
setValidatePassword(boolean validatePassword)
sets whether or not the panel should validate password.-
Methods inherited from class com.zerog.ia.auto.project.panels.InstallPanelAction
getArchivesSigned, getDependencies, getHelp, getImage, getImageOption, getInstallPanelClassName, getLabelIndex, getLabelOption, getResource, setArchivesSigned, setDependencies, setHelp, setImage, setImageOption, setInstallPanelClassName, setLabelIndex, setLabelOption, setResource
-
Methods inherited from class com.zerog.ia.auto.project.InstallableObject
getBelongsToUninstallPhase, getRollbackEnabledCancel, getRollbackEnabledError, getRuleExpression, getRules, getRulesLogicalOperation, getTagsInInstallPiece, setBelongsToUninstallPhase, setRollbackEnabledCancel, setRollbackEnabledError, setRuleExpression, setRulesLogicalOperation, setTagsInInstallPiece
-
Methods inherited from class com.zerog.ia.auto.project.ProjectObject
equals, getReferenceID, hashCode, setReferenceID
-
-
-
-
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.
-
-