cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy McCright <j.andrew.mccri...@gmail.com>
Subject Re: Client not sending proxy credentials
Date Fri, 02 Feb 2018 05:22:47 GMT
Yes, that looks right.

The username and password should be set on the ProxyAuthorizationPolicy -
you can create a new one, set the user/password, and the pass it to the
HTTPConduit.

Good luck!

Andy

On Thu, Feb 1, 2018 at 10:46 PM Al Grant <bigal.nz@gmail.com> wrote:

> Actually just took a second look at your github Andy. More like this
> perhaps:
>
>         HTTPClientPolicy policy = http.getClient();
>         policy.setProxyServer("someproxy.enterprise.au");
>         policy.setProxyServerPort(8080);
>         http.getProxyAuthorization().setUserName("username");
>         http.getProxyAuthorization().setPassword("password");
>         http.setClient(policy);
>
> Cheers
>
> AG
>
>
>
>
> --
> Sent from: http://cxf.547215.n5.nabble.com/cxf-user-f547216.html
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message