Package org.omegat.gui.dialogs
Class PasswordSetDialogController
- java.lang.Object
-
- org.omegat.gui.dialogs.PasswordSetDialogController
-
public class PasswordSetDialogController extends java.lang.Object
A simple modal dialog for prompting the user to set a password. The user must confirm the password by entering it again in a second field.The password is required to be:
- Not empty
- Equal to the confirmation password (which must also not be empty)
The result will be empty when the user cancels the dialog. When the result is present, the caller is responsible for wiping the
char[]
after use.
-
-
Constructor Summary
Constructors Constructor Description PasswordSetDialogController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CredentialsManager.PasswordSetResult
getResult()
When the result is present, the caller is responsible for wiping thechar[]
after use!void
show(java.awt.Window parent)
-
-
-
Method Detail
-
show
public void show(java.awt.Window parent)
-
getResult
public CredentialsManager.PasswordSetResult getResult()
When the result is present, the caller is responsible for wiping thechar[]
after use!
-
-