enable HttpsJwks to continue to use the existing cache when an exception is thrown from refresh()

Issue #54 closed
Brian Campbell repo owner created an issue

Provide an option for continuing to use the cache for a while when a failure happens.

Comments (4)

  1. Brian Campbell reporter

    b5cda62 address #54 by enabling HttpsJwks.getJsonWebKeys() to continue to use the existing cache when an exception is thrown from refresh(). Default behavior is unchanged and setRetainCacheOnErrorDuration(...) must be called with a value larger than zero to get the new behavior.

  2. Log in to comment