Class JwksUnavailableException

All Implemented Interfaces:
Serializable

Thrown when a RemoteJwksSource has no usable JSON Web Key Set for a call: the fetch failed, a recent failure is still suppressing fetches, the limit of two requests per cooldown held the call back, or the call's deadline ended while it waited for another caller's fetch.

Its category says what went wrong, and there is no separate reason:

The message is fixed for each category and never contains the URI, a header or the response body. Only the caller whose request ended in an I/O error keeps the JDK's IOException as the cause; every other instance has none. Revetsec never wraps this exception: a validator that needed the key set throws it unchanged.
Since:
1.0.0
Author:
Mark Allen
See Also: