Class PasswordCredential

java.lang.Object
org.springframework.credhub.support.StringCredential
org.springframework.credhub.support.password.PasswordCredential

public class PasswordCredential extends StringCredential
A password credential consists of a single string value.
Author:
Scott Frederick
  • Constructor Details

    • PasswordCredential

      public PasswordCredential(String value)
      Create a PasswordCredential containing the specified password value.
      Parameters:
      value - the password; must not be null
  • Method Details

    • getPassword

      public String getPassword()
      Get the password value.
      Returns:
      the password value