response
.getHeaderFields("WWW-Authenticate"),
"WWW-Authenticate", "Authorization",
HttpAuthenticatorFactory.BASIC, post
.getURI());
if (authenticator.wantsPrompt()) {
if ( !( defaultAuthenticationPrompt != null ? defaultAuthenticationPrompt.promptForCredentials(false, authenticator) :
getGUI().promptForCredentials(false, authenticator) ) ) {
throw new AuthenticationCancelledException();
}
}