Frame.class, SshToolsApplicationClientPanel.this));
instance.setAuthenticationPrompt(dialog);
((PasswordAuthenticationClient) instance).setPasswordChangePrompt(PasswordChange.getInstance());
PasswordChange.getInstance().setParentComponent(SshToolsApplicationClientPanel.this);
} else if (instance instanceof PublicKeyAuthenticationClient) {
PublicKeyAuthenticationPrompt prompt = new PublicKeyAuthenticationPrompt(SshToolsApplicationClientPanel.this);
instance.setAuthenticationPrompt(prompt);
} else if (instance instanceof KBIAuthenticationClient) {
KBIAuthenticationClient kbi = new KBIAuthenticationClient();
((KBIAuthenticationClient) instance).setKBIRequestHandler(new KBIRequestHandlerDialog(
(Frame) SwingUtilities.getAncestorOfClass(Frame.class,