DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=27594>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=27594 Wrong reauthentication when using DigestAuthentication Summary: Wrong reauthentication when using DigestAuthentication Product: Commons Version: 2.0 Final Platform: All OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: HttpClient AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] A wrong or maybe old 'nonce' will be send to the server. Authentication fails when server returns that authentication 'nonce' value is 'stale'. Quickfix: Class: org.apache.commons.httpclient.HttpMethodBase Method: private boolean processAuthenticationResponse(HttpState state, HttpConnection conn) Line: 2486 // FIX: for digest authentication when nonce is changed by server String digeststale = authscheme.getParameter("stale"); if (digeststale != null && digeststale.equals("true")) { realmsUsed.remove("realm"); } if (realmsUsed.contains(realm)) { if (LOG.isInfoEnabled()) { buffer = new StringBuffer(); buffer.append("Already tried to authenticate with '"); buffer.append(authscheme.getRealm()); buffer.append("' authentication realm at "); buffer.append(host); buffer.append(", but still receiving: "); buffer.append(statusLine.toString()); LOG.info(buffer.toString()); } return true; } else { realmsUsed.add(realm); } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]