Class RefreshingHttpsJwksTest
java.lang.Object
org.apache.kafka.common.security.oauthbearer.internals.secured.OAuthBearerTest
org.apache.kafka.common.security.oauthbearer.internals.secured.RefreshingHttpsJwksTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidTest that a key not previously scheduled for refresh will be scheduled without a refresh.voidTest that a "long key" will not be looked up because the key ID is too long.voidTest that a key previously scheduled for refresh will be scheduled a second time if it's requested after the delay.voidTest that a key previously scheduled for refresh will not be scheduled a second time if it's requested right away.voidTest that if we ask to load a missing key, and then we wait past the sleep time that it will call refresh to load the key.
-
Constructor Details
-
RefreshingHttpsJwksTest
public RefreshingHttpsJwksTest()
-
-
Method Details
-
testBasicScheduleRefresh
-
testMaybeExpediteRefreshNoDelay
-
testMaybeExpediteRefreshDelays
-
testLongKey
-
testSecondaryRefreshAfterElapsedDelay
-