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

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

    • BasicJWKReferenceCredential

      public BasicJWKReferenceCredential()
      Constructor.
    • BasicJWKReferenceCredential

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

    • setReferenceURI

      public void setReferenceURI(URI uri)
      Set the reference to a JWK.
      Parameters:
      uri - What to set.
    • getReferenceURI

      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

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