Class ClientInformationCredentialResolver

All Implemented Interfaces:
JOSEObjectCredentialResolver, Component, InitializableComponent, Resolver<Credential,CriteriaSet>, CredentialResolver

public class ClientInformationCredentialResolver extends BasicJOSEObjectCredentialResolver implements InitializableComponent
A JOSEObjectCredentialResolver that resolves credentials from the jwks or contents of jwks_uri of a ClientInformation. If the information contains client secret, it's converted into a BasicJWKCredential. Further filtering of credentials is provided by the AbstractCriteriaFilteringCredentialResolver parent class.

Note, only RSA or EC keys are resolved as these are the only key types which should be exposed in public JWKS documents.

  • Field Details

    • log

      @Nonnull private final org.slf4j.Logger log
      Class logger.
    • isInitialized

      private boolean isInitialized
      Initialization flag.
    • remoteJwkSetCache

      @NonnullAfterInit private RemoteJwkSetCache remoteJwkSetCache
      The cache for remote JWK key sets.
    • keyFetchInterval

      @Positive private Duration keyFetchInterval
      The remote key refresh interval. Default value: 30 minutes.
  • Constructor Details

    • ClientInformationCredentialResolver

      public ClientInformationCredentialResolver()
  • Method Details