public class OpenIdResolverFactory extends Object
Constructor and Description |
---|
OpenIdResolverFactory(int readTimeout,
int connTimeout)
For generating an OpenIDResolverFactory with the supplied timeouts which will
be used for all HTTP communication originating form this factory.
|
Modifier and Type | Method and Description |
---|---|
OpenIdResolver |
createFromOpenIDConfigUrl(URL configUrl)
Creates a public key resolver for the supplied issuer using keys supplied
at the .well-known open ID configuration URL.
|
OpenIdResolver |
createJWKResolver(String issuer,
URL jwkUrl,
int readTimeout,
int connTimeout)
Creates a public key resolver for the supplied issuer using
keys supplied at the JWK Set URL.
|
OpenIdResolver |
createPublicKeyResolver(String issuer,
PublicKey key)
Creates a public key resolver for the supplied issuer.
|
OpenIdResolver |
createSharedSecretResolver(String issuer,
String sharedSecret)
Creates a shared secret (HMAC) key resolver for the supplied issuer.
|
public OpenIdResolverFactory(int readTimeout, int connTimeout)
readTimeout
- HTTP read timeout for produced resolversconnTimeout
- HTTP connection timeout for produced resolverspublic OpenIdResolver createPublicKeyResolver(String issuer, PublicKey key)
issuer
- The issuer's reference namekey
- Key to use for this issuerpublic OpenIdResolver createSharedSecretResolver(String issuer, String sharedSecret)
issuer
- The issuer's reference namesharedSecret
- SharedSecret for which to use with HMACpublic OpenIdResolver createJWKResolver(String issuer, URL jwkUrl, int readTimeout, int connTimeout) throws FailedToLoadJWKException
issuer
- The issuer's reference namejwkUrl
- From which to read the JWK SetreadTimeout
- read timeout setting for HTTP connectionsconnTimeout
- connection timeout setting for HTTP connectionsFailedToLoadJWKException
- If there were problems reading or configuring data from the URLpublic OpenIdResolver createFromOpenIDConfigUrl(URL configUrl) throws FailedToLoadJWKException
configUrl
- Location of the .well-known Open ID Connect configFailedToLoadJWKException
- If there were problems reading or configuring data from the URLCopyright © 2025 Open Identity Platform Community. All rights reserved.