SshConnector conn = node.getSshConnector();
if (conn == null)
throw new WindowsException(Strings.get("no.password"));
SshAuth auth = conn.getSshAuth();
if (auth == null)
throw new WindowsException(Strings.get("no.password"));
String notFinal = auth.getPassword();
if (!ok(notFinal))
throw new WindowsException(Strings.get("no.password"));
password = DcomUtils.resolvePassword(notFinal);
notFinal = node.getNodeHost();
if (!ok(notFinal))
notFinal = conn.getSshHost();
if (!ok(notFinal))
throw new WindowsException(Strings.get("no.host"));
host = resolver.resolve(notFinal);
notFinal = auth.getUserName();
if (!ok(notFinal))
notFinal = System.getProperty("user.name");
if (!ok(notFinal))
throw new WindowsException(Strings.get("no.username"));
user = resolver.resolve(notFinal);