+ "</b></center></html>", false);
pwDialog.setVisible(true);
if (pwDialog.getUser().length() > 0) {
credentials = new UsernamePasswordCredentials(pwDialog.getUser(), pwDialog.getPassword());
}
pwDialog.dispose();
} else {
throw new InvalidCredentialsException(
"Unsupported authentication scheme: " + scope.getScheme());
}
if (credentials != null){