public class WellKnownOpenIdConfigurationFactory extends Object
Constructor and Description |
---|
WellKnownOpenIdConfigurationFactory(int readTimeout,
int connTimeout)
Generates a factory that will use the given timeouts when attempting to
read the data form a remote location.
|
Modifier and Type | Method and Description |
---|---|
JWKOpenIdResolverImpl |
build(URL configUrl)
Returns a JWKOpenIdResolverImpl representing the contents of the supplied URL.
|
JwksStoreService |
getJwksStoreService()
Get the JWKS store service.
|
public WellKnownOpenIdConfigurationFactory(int readTimeout, int connTimeout)
readTimeout
- set the read timeout of HTTP operations in this factoryconnTimeout
- set the connection timeout of HTTP operations in this factorypublic JWKOpenIdResolverImpl build(URL configUrl) throws FailedToLoadJWKException
configUrl
- URL from which to read the JWKSetFailedToLoadJWKException
- if there are issues reading or parsing the configUrlpublic JwksStoreService getJwksStoreService()
Copyright © 2010-2018, ForgeRock All Rights Reserved.