Package org.apache.solr.security.jwt
Class JWTIssuerConfig.WellKnownDiscoveryConfig
java.lang.Object
org.apache.solr.security.jwt.JWTIssuerConfig.WellKnownDiscoveryConfig
- Enclosing class:
JWTIssuerConfig
Config object for a OpenId Connect well-known config.
Typically exposed through /.well-known/openid-configuration endpoint.
-
Method Summary
Modifier and TypeMethodDescriptionparse(InputStream configStream) parse(URL url, Collection<X509Certificate> trustedCerts) Fetch well-known config from a URL, with optional list of trusted certificates
-
Method Details
-
parse
public static JWTIssuerConfig.WellKnownDiscoveryConfig parse(String urlString) throws MalformedURLException - Throws:
MalformedURLException
-
parse
public static JWTIssuerConfig.WellKnownDiscoveryConfig parse(URL url, Collection<X509Certificate> trustedCerts) Fetch well-known config from a URL, with optional list of trusted certificates- Parameters:
url- the url to fetchtrustedCerts- optional list of trusted SSL certs. May be null to fall-back to Java's defaults- Returns:
- an instance of WellKnownDiscoveryConfig object
-
parse
-
parse
-
getJwksUrl
-
getIssuer
-
getAuthorizationEndpoint
-
getUserInfoEndpoint
-
getTokenEndpoint
-
getScopesSupported
-
getResponseTypesSupported
-