Hi,

On Tue, Aug 2, 2016 at 5:48 PM,  <[email protected]> wrote:
> Hi,
>
> I have set up a local Proxy Server and made a few tests:
> - I have tried with the empty String - I received 407 Unauthorized as
> response;

Depending on how your setup is, this may be normal.

> - I have tried with a valid realm value ("CCProxy Authorization"), I receive
> 200 OK as response;

Okay.

> - empty realm String ends with NPE;

You just said above you get a 407 ?!?

> - the server is sending the challenge with a realm;
> - Response headers :
> Server: Proxy
> Proxy-Authenticate: Basic realm="CCProxy Authorization"
> Cache-Control: no-cache
> Connection: close
> Proxy-Connection: Close
> Content-Length: 265
>
> The question remains still the same - is there any option like in the Apache
> HttpClient API to set credentials for any realm ?

Not currently, please file an issue.

As a workaround, you can override BasicAuthentication.matches(...)
with your own logic.

-- 
Simone Bordet
----
http://cometd.org
http://webtide.com
Developer advice, training, services and support
from the Jetty & CometD experts.
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to