Uses of Class
org.forgerock.json.jose.exceptions.FailedToLoadJWKException
Package
Description
Classes and interfaces for creating and manipulating JWKs.
This package contains classes to manage a JWKs URI.
This package contains classes to generate Open ID Resolvers, which can
validate a supplied JWS against an Open ID Connect provider.
-
Uses of FailedToLoadJWKException in org.forgerock.json.jose.jwk
Modifier and TypeMethodDescriptionJWKSetParser.gatherHttpContentsAsync
(URL url) Uses the Client to gather HTTP information.JWKSetParser.jwkSetAsync
(URL url) Provides a JWK set as indicated by the JWKSet's URL.Modifier and TypeMethodDescriptionDeprecated.JWKSetParser.jwkSetToMap
(JWKSet jwkSet) Converts a supplied JWKSet into a map of key:values, where the keys are the keyIds and the values are verification keys.Lookup returns the key from the given json, under the assumption it's of the correct keyType. -
Uses of FailedToLoadJWKException in org.forgerock.json.jose.jwk.store
Modifier and TypeMethodDescriptionJwksStoreService.configureJwksStoreAsync
(String uid, Duration cacheTimeout, Duration cacheMissCacheTime, URL jwkUrl, Clock clock) Configure a JWKs store.JwksStore.findJwkAsync
(String kid) Search asynchronously for a JWK that matches the kid.JwksStore.findJwkAsync
(Predicate<JWK> predicate) Return the JWK matching the keyID with the algorithm and keyUse.JwksStore.findJwkAsync
(Algorithm algorithm, String keyUse) Search asynchronously for a JWK that matches the algorithm and the key usage.JwksStore.getLatestJwkSet()
Returns the latest non expired successfully loaded JWK Set.static Promise<JwksStore,
FailedToLoadJWKException> JwksStore.newJwksStore
(Duration cacheTimeout, Duration cacheMissCacheTime, URL jwkUrl, JWKSetParser jwkSetParser, Clock clock) Create a new JWKs store asynchronously.JwksStore.reloadJwksAsync()
Communicates with the configured server, attempting to download the latest JWKs for use.JwksStore.setJwkUrlAsync
(URL jwkUrl) Update the JWKs URI.Modifier and TypeMethodDescriptionJwksStoreService.configureJwksStore
(String uid, Duration cacheTimeout, Duration cacheMissCacheTime, URL jwkUrl) Deprecated.UseJwksStoreService.configureJwksStore(String, Duration, Duration, URL, Clock)
with an explicit clock.JwksStoreService.configureJwksStore
(String uid, Duration cacheTimeout, Duration cacheMissCacheTime, URL jwkUrl, Clock clock) Deprecated.Deprecated.UseJwksStore.findJwkAsync(String)
instead.Deprecated.UseJwksStore.findJwkAsync(String)
instead.void
JwksStore.reloadJwks()
Deprecated.UseJwksStore.reloadJwksAsync()
instead.void
Deprecated.UseJwksStore.setJwkUrlAsync(URL)
instead.ModifierConstructorDescriptionJwksStore
(Duration cacheTimeout, Duration cacheMissCacheTime, URL jwkUrl, JWKSetParser jwkSetParser, Clock clock) Deprecated.It is recommended to useJwksStore.newJwksStore(Duration, Duration, URL, JWKSetParser, Clock)
. -
Uses of FailedToLoadJWKException in org.forgerock.oauth.resolvers
Modifier and TypeMethodDescriptionWellKnownOpenIdConfigurationFactory.buildAsync
(String configuredIssuer, URL configUrl) Returns a JWKOpenIdResolverImpl representing the contents of the supplied URL.WellKnownOpenIdConfigurationFactory.buildAsync
(BiPredicate<String, String> issuerComparator, String configuredIssuer, URL configUrl) Returns a JWKOpenIdResolverImpl representing the contents of the supplied URL.Modifier and TypeMethodDescriptionReturns a JWKOpenIdResolverImpl representing the contents of the supplied URL.WellKnownOpenIdConfigurationFactory.build
(BiPredicate<String, String> issuerComparator, String configuredIssuer, URL configUrl) Returns a JWKOpenIdResolverImpl representing the contents of the supplied URL.OpenIdResolverFactory.createFromOpenIDConfigUrl
(String issuer, URL configUrl) Creates a public key resolver for the supplied issuer using keys supplied at the .well-known open ID configuration URL.OpenIdResolverFactory.createJWKResolver
(String issuer, URL jwkUrl) Creates a public key resolver for the supplied issuer using keys supplied at the JWK Set URL.OpenIdResolverFactory.createJWKResolver
(String issuer, URL jwkUrl, int readTimeout, int connTimeout) Deprecated.Replaced byOpenIdResolverFactory.createJWKResolver(String, URL)
()}void
JWKOpenIdResolverImpl.verifySignature
(SignedJwt idClaim) Verifies that the JWS was signed by the supplied key.ModifierConstructorDescriptionJWKOpenIdResolverImpl
(String issuer, JwksStore jwksStore) Constructs a JWKOpenIdResolverImpl.JWKOpenIdResolverImpl
(BiPredicate<String, String> issuerComparator, String issuer, JwksStore jwksStore) Constructs a JWKOpenIdResolverImpl.
JWKSetParser.jwkSetAsync(URL)
instead.