Index: src/java/org/apache/commons/httpclient/HttpMethodDirector.java =================================================================== --- src/java/org/apache/commons/httpclient/HttpMethodDirector.java (revision 915499) +++ src/java/org/apache/commons/httpclient/HttpMethodDirector.java (working copy) @@ -644,9 +644,10 @@ LOG.debug("Redirecting from '" + currentUri.getEscapedURI() + "' to '" + redirectUri.getEscapedURI()); } - //And finally invalidate the actual authentication scheme - method.getHostAuthState().invalidate(); - return true; + //And finally invalidate the actual authentication scheme, and for proxies too + method.getHostAuthState().invalidate(); + method.getProxyAuthState().invalidate(); + return true; } /**