Class RemoteJwkUtils
- java.lang.Object
-
- org.geant.idpextension.oidc.metadata.support.RemoteJwkUtils
-
public final class RemoteJwkUtils extends Object
Generic utility methods related to remote JWK sets.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateRemoteJwkUtils()Constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.nimbusds.jose.jwk.JWKSetfetchRemoteJwkSet(String logPrefix, URI uri, org.apache.http.client.HttpClient httpClient, org.opensaml.security.httpclient.HttpClientSecurityParameters httpClientSecurityParameters)Fetches the JWK set from the given URI using the given client and security parameters.
-
-
-
Method Detail
-
fetchRemoteJwkSet
public static com.nimbusds.jose.jwk.JWKSet fetchRemoteJwkSet(String logPrefix, URI uri, org.apache.http.client.HttpClient httpClient, org.opensaml.security.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.
-
-