Class PasswordCredential
java.lang.Object
org.springframework.credhub.support.StringCredential
org.springframework.credhub.support.password.PasswordCredential
A password credential consists of a single string value.
- Author:
- Scott Frederick
-
Field Summary
Fields inherited from class org.springframework.credhub.support.StringCredential
value
-
Constructor Summary
ConstructorDescriptionPasswordCredential
(String value) Create aPasswordCredential
containing the specified password value. -
Method Summary
Methods inherited from class org.springframework.credhub.support.StringCredential
equals, hashCode, toString
-
Constructor Details
-
PasswordCredential
Create aPasswordCredential
containing the specified password value.- Parameters:
value
- the password; must not be null
-
-
Method Details
-
getPassword
Get the password value.- Returns:
- the password value
-