Class CredentialRequest<T>

java.lang.Object
org.springframework.credhub.support.CredHubRequest<T>
org.springframework.credhub.support.CredentialRequest<T>
Type Parameters:
T - the type of CredHub credential
Direct Known Subclasses:
CertificateCredentialRequest, JsonCredentialRequest, PasswordCredentialRequest, RsaCredentialRequest, SshCredentialRequest, UserCredentialRequest, ValueCredentialRequest

public class CredentialRequest<T> extends CredHubRequest<T>
The details of a request to write a new or update an existing credential in CredHub.
Author:
Scott Frederick
  • Constructor Details

    • CredentialRequest

      protected CredentialRequest(CredentialType type)
      Initialize a CredentialRequest.
      Parameters:
      type - the credential implementation type
  • Method Details

    • getValue

      public T getValue()
      Get the value of the credential.
      Returns:
      the value of the credential
    • setValue

      protected void setValue(T value)
      Set the value of the credential.
      Parameters:
      value - the value of the credential