Uses of Class
org.forgerock.json.jose.exceptions.FailedToLoadJWKException
-
Packages that use FailedToLoadJWKException Package Description org.forgerock.json.jose.jwk Classes and interfaces for creating and manipulating JWKs.org.forgerock.json.jose.jwk.store This package contains classes to manage a JWKs URI.org.forgerock.oauth.resolvers 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
Methods in org.forgerock.json.jose.jwk that return types with arguments of type FailedToLoadJWKException Modifier and Type Method Description Promise<JsonValue,FailedToLoadJWKException>
JWKSetParser. gatherHttpContentsAsync(URL url)
Uses the Client to gather HTTP information.Promise<JWKSet,FailedToLoadJWKException>
JWKSetParser. jwkSetAsync(URL url)
Provides a JWK set as indicated by the JWKSet's URL.Methods in org.forgerock.json.jose.jwk that throw FailedToLoadJWKException Modifier and Type Method Description JWKSet
JWKSetParser. jwkSet(URL url)
Deprecated.UseJWKSetParser.jwkSetAsync(URL)
instead.Map<String,Key>
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.Key
JWKLookup. lookup(String json, KeyType keyType)
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
Methods in org.forgerock.json.jose.jwk.store that return types with arguments of type FailedToLoadJWKException Modifier and Type Method Description Promise<JwksStore,FailedToLoadJWKException>
JwksStoreService. configureJwksStoreAsync(String uid, Duration cacheTimeout, Duration cacheMissCacheTime, URL jwkUrl, Clock clock)
Configure a JWKs store.Promise<JWK,FailedToLoadJWKException>
JwksStore. findJwkAsync(String kid)
Search asynchronously for a JWK that matches the kid.Promise<JWK,FailedToLoadJWKException>
JwksStore. findJwkAsync(Algorithm algorithm, String keyUse)
Search asynchronously for a JWK that matches the algorithm and the key usage.Promise<JWKSet,FailedToLoadJWKException>
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.Promise<Void,FailedToLoadJWKException>
JwksStore. reloadJwksAsync()
Communicates with the configured server, attempting to download the latest JWKs for use.Promise<Void,FailedToLoadJWKException>
JwksStore. setJwkUrlAsync(URL jwkUrl)
Update the JWKs URI.Methods in org.forgerock.json.jose.jwk.store that throw FailedToLoadJWKException Modifier and Type Method Description JwksStore
JwksStoreService. configureJwksStore(String uid, Duration cacheTimeout, Duration cacheMissCacheTime, URL jwkUrl)
Deprecated.UseJwksStoreService.configureJwksStore(String, Duration, Duration, URL, Clock)
with an explicit clock.JwksStore
JwksStoreService. configureJwksStore(String uid, Duration cacheTimeout, Duration cacheMissCacheTime, URL jwkUrl, Clock clock)
Deprecated.JWK
JwksStore. findJwk(String kid)
Deprecated.UseJwksStore.findJwkAsync(String)
instead.JWK
JwksStore. findJwk(Algorithm algorithm, String keyUse)
Deprecated.UseJwksStore.findJwkAsync(String)
instead.void
JwksStore. reloadJwks()
Deprecated.UseJwksStore.reloadJwksAsync()
instead.void
JwksStore. setJwkUrl(URL jwkUrl)
Deprecated.UseJwksStore.setJwkUrlAsync(URL)
instead.Constructors in org.forgerock.json.jose.jwk.store that throw FailedToLoadJWKException Constructor Description JwksStore(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
Methods in org.forgerock.oauth.resolvers that return types with arguments of type FailedToLoadJWKException Modifier and Type Method Description Promise<JWKOpenIdResolverImpl,FailedToLoadJWKException>
WellKnownOpenIdConfigurationFactory. buildAsync(String configuredIssuer, URL configUrl)
Returns a JWKOpenIdResolverImpl representing the contents of the supplied URL.Methods in org.forgerock.oauth.resolvers that throw FailedToLoadJWKException Modifier and Type Method Description JWKOpenIdResolverImpl
WellKnownOpenIdConfigurationFactory. build(String configuredIssuer, URL configUrl)
Returns a JWKOpenIdResolverImpl representing the contents of the supplied URL.OpenIdResolver
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.OpenIdResolver
OpenIdResolverFactory. createJWKResolver(String issuer, URL jwkUrl)
Creates a public key resolver for the supplied issuer using keys supplied at the JWK Set URL.OpenIdResolver
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.Constructors in org.forgerock.oauth.resolvers that throw FailedToLoadJWKException Constructor Description JWKOpenIdResolverImpl(String issuer, JwksStore jwksStore)
Constructs a JWKOpenIdResolverImpl.
-