resourceManager.getOut().print("Enter Username: ");
resourceManager.getOut().flush();
username = StringUtil.trimWhitespace(resourceManager.getIn().readLine());
}
password = new PasswordField().getPassword(resourceManager.getOut(), "Enter Password: ", message);
} catch (IOException e) {
throw new ConfigException(e);
}
savePassword(uri, username, password);