Disabling caching
It is possible to fetch a password from the API or command-line and find that it did not work – perhaps the password was (incorrectly) cached, and you need to fetch a new one from the API, skipping the cache.
To force the password to come from the Bravura Privilege web services API and not from the local cache, set expirecache
to 1
if using the API or use the -expirecache
argument to runwithpass
.
In this case, the cache will still be written to.
Returning invalid cache contents
If either the library or program attempts to contact the web service, but it is unreachable, they will still return cached material if it is available, along with an error message. This is intended to improve service availability, even in cases where Bravura Privilege is unreachable.