Yup someone (me) miss to remove this deprecated call.
I will fix that now.

On 3 September 2013 15:42, Kristian Rosenvold
<kristian.rosenv...@gmail.com> wrote:
> While looking at the access denied problem for wagon, I ran into this code
> line:
>
> https://github.com/apache/maven-wagon/blob/master/wagon-providers/wagon-http/src/main/java/org/apache/maven/wagon/providers/http/AbstractHttpClientWagon.java#L740
>
> The call uses a deprecated version of "authenticated" that regenerates the
> BasicHttpContext every time.
> The new (not deprecated) version would seem to be just
>
>                 Header bs = new BasicScheme().authenticate( creds,
> httpMethod, localContext );
>
> (Where we add the existing localContext variable)
>
> I am a bit puzzled that the current code works with authenticated proxies
> at all, but this code is
> certainly not my domain. Is this a bug ?
>
> Kristian



-- 
Olivier Lamy
Ecetera: http://ecetera.com.au
http://twitter.com/olamy | http://linkedin.com/in/olamy

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to