Class BasicJWKReferenceCredential

java.lang.Object
org.opensaml.security.credential.AbstractCredential
net.shibboleth.oidc.security.credential.BasicJWKReferenceCredential
All Implemented Interfaces:
JWKReferenceCredential, Credential

public class BasicJWKReferenceCredential extends AbstractCredential implements JWKReferenceCredential
A basic implementation of JWKReferenceCredential.
  • Field Details

    • referenceUri

      @Nullable private URI referenceUri
      A reference to a JWK.
  • Constructor Details

    • BasicJWKReferenceCredential

      @Deprecated(since="3.1.0", forRemoval=true) public BasicJWKReferenceCredential()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Constructor.
    • BasicJWKReferenceCredential

      public BasicJWKReferenceCredential(@Nullable URI uri)
      Constructor.
      Parameters:
      uri - A reference to a JWK.
  • Method Details

    • setReferenceURI

      @Deprecated(since="3.1.0", forRemoval=true) public void setReferenceURI(@Nullable URI uri)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Set the reference to a JWK.
      Parameters:
      uri - What to set.
    • getReferenceURI

      @Nonnull public URI getReferenceURI()
      Get the reference URI to the remote JWK.
      Specified by:
      getReferenceURI in interface JWKReferenceCredential
      Returns:
      The reference URI to the remote JWK.
    • getCredentialType

      @Nonnull public Class<? extends Credential> getCredentialType()
      Specified by:
      getCredentialType in interface Credential