mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
GP-2986 - ComponentProvder and dialog cleanup on dispose
This commit is contained in:
@@ -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