mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-27 20:00:29 +08:00
GP-2986 - ComponentProvder and dialog cleanup on dispose
This commit is contained in:
+5
-4
@@ -153,16 +153,17 @@ public class DefaultClientAuthenticator extends PopupKeyStorePasswordProvider
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
PasswordDialog pwdDialog;
|
||||
|
||||
String choicePrompt = null;
|
||||
String[] choices = null;
|
||||
if (choiceCb != null) {
|
||||
choicePrompt = choiceCb.getPrompt();
|
||||
choices = choiceCb.getChoices();
|
||||
}
|
||||
pwdDialog = new PasswordDialog(title, serverType, serverName, passCb.getPrompt(),
|
||||
nameCb != null ? nameCb.getPrompt() : null, getDefaultUserName(), choicePrompt,
|
||||
choices, getDefaultChoice(), anonymousCb != null);
|
||||
PasswordDialog pwdDialog =
|
||||
new PasswordDialog(title, serverType, serverName, passCb.getPrompt(),
|
||||
nameCb != null ? nameCb.getPrompt() : null, getDefaultUserName(), choicePrompt,
|
||||
choices, getDefaultChoice(), anonymousCb != null);
|
||||
if (errorMsg != null) {
|
||||
pwdDialog.setErrorText(errorMsg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user