transport.sendMessage(msg, this);
try {
msg = messageStore.getMessage(resultFilter);
} catch (InterruptedException ex) {
throw new SshException(
"The thread was interrupted whilst waiting for an authentication message");
}
if (msg instanceof SshMsgUserAuthFailure) {
return ((SshMsgUserAuthFailure) msg).getAvailableAuthentications();