Class RemoteJwkUtils

java.lang.Object
net.shibboleth.oidc.jwk.support.RemoteJwkUtils

public final class RemoteJwkUtils extends Object
Generic utility methods related to remote JWK sets.
  • 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 prefix
      uri - the endpoint for the JWK set.
      httpClient - HTTP client
      httpClientSecurityParameters - security parameters
      Returns:
      The JWK set fetched from the endpoint, or null if it couldn't be fetched.