public class PasswordCredential extends StringCredential
value
Constructor and Description |
---|
PasswordCredential(String value)
Create a
PasswordCredential containing the specified password value. |
Modifier and Type | Method and Description |
---|---|
String |
getPassword()
Get the password value.
|
equals, hashCode, toString
public PasswordCredential(String value)
PasswordCredential
containing the specified password value.value
- the password; must not be nullpublic String getPassword()