Re: Clearing the credentials cache in httpclient 4

2014-01-17 Thread Oleg Kalnichevski
Dennis Heimbigner 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 of that prov

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 d

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. > >> > > > > Act

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 (Basi

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 pro

Clearing the credentials cache in httpclient 4

2014-01-16 Thread Dennis Heimbigner
As I understand it, in httpclient 4, each credentials provider is solely responsible for caching of credentials. The question I have is: when authentication fails using a set of credentials provided by a credentials provider (say because they are out of date), how is the credentials provider noti