Re: Clearing the credentials cache in httpclient 4

2014-01-17 Thread Oleg Kalnichevski
Dennis Heimbigner d...@unidata.ucar.edu wrote: You might create an object, though, that is both credentials provider and auth cache. This is probably the only solution. But my example still stands, I think. A credentials providers serves up and caches a set of credentials. During the lifetime

Re: Clearing the credentials cache in httpclient 4

2014-01-16 Thread Oleg Kalnichevski
On Thu, 2014-01-16 at 13:21 -0700, Dennis Heimbigner wrote: As I understand it, in httpclient 4, each credentials provider is solely responsible for caching of credentials. Actually it is AuthCache [1]. The question I have is: when authentication fails using a set of credentials provided

Re: Clearing the credentials cache in httpclient 4

2014-01-16 Thread Dennis Heimbigner
Oleg Kalnichevski wrote: On Thu, 2014-01-16 at 13:21 -0700, Dennis Heimbigner wrote: As I understand it, in httpclient 4, each credentials provider is solely responsible for caching of credentials. Actually it is AuthCache [1]. That does not seem correct to me. I looked at AuthCache

Re: Clearing the credentials cache in httpclient 4

2014-01-16 Thread Oleg Kalnichevski
On Thu, 2014-01-16 at 15:16 -0700, Dennis Heimbigner wrote: Oleg Kalnichevski wrote: On Thu, 2014-01-16 at 13:21 -0700, Dennis Heimbigner wrote: As I understand it, in httpclient 4, each credentials provider is solely responsible for caching of credentials. Actually it is

Re: Clearing the credentials cache in httpclient 4

2014-01-16 Thread Dennis Heimbigner
You might create an object, though, that is both credentials provider and auth cache. This is probably the only solution. But my example still stands, I think. A credentials providers serves up and caches a set of credentials. During the lifetime of that provider, the credentials become out of