hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <o...@ok2consulting.com>
Subject Re: Clearing the credentials cache in httpclient 4
Date Fri, 17 Jan 2014 10:14:58 GMT
Dennis Heimbigner <dmh@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 of that provider, the credentials
>become out of date. There is no way (other than your proposal
>to combine AuthCache and credentialsprovider) to get that bad
>set of credentials out of the providers cache. 
Of course, there is. Simply update / remove credentials upon status 401 or 407. 

Oleg
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Mime
View raw message