Package net.shibboleth.oidc.jwk.support
Class RemoteJwkUtils
java.lang.Object
net.shibboleth.oidc.jwk.support.RemoteJwkUtils
Generic utility methods related to remote JWK sets.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic JWKSetfetchRemoteJwkSet(String logPrefix, URI uri, org.apache.hc.client5.http.classic.HttpClient httpClient, HttpClientSecurityParameters httpClientSecurityParameters) Fetches the JWK set from the given URI using the given client and security parameters.
-
Constructor Details
-
RemoteJwkUtils
private RemoteJwkUtils()Constructor.
-
-
Method Details
-
fetchRemoteJwkSet
public static JWKSet fetchRemoteJwkSet(String logPrefix, URI uri, org.apache.hc.client5.http.classic.HttpClient httpClient, HttpClientSecurityParameters httpClientSecurityParameters) Fetches the JWK set from the given URI using the given client and security parameters.- Parameters:
logPrefix- log prefixuri- the endpoint for the JWK set.httpClient- HTTP clienthttpClientSecurityParameters- security parameters- Returns:
- The JWK set fetched from the endpoint, or null if it couldn't be fetched.
-