public class PasswordCredential extends BaseCredential
| Constructor and Description |
|---|
PasswordCredential() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getHash()
Get a hash value for the credential data.
|
java.lang.String |
getPassword() |
void |
setPassword(java.lang.String password) |
getId, getLastCheck, getScheduleId, getSchoolId, hash, isValid, setHash, setId, setLastCheck, setScheduleId, setSchoolId, setValidpublic java.lang.String getPassword()
public void setPassword(java.lang.String password)
public java.lang.String getHash()
CredentialSubstitutionScheduleParser
implementations, especially not if they depend on a specific hashing algorithm.
For two Credential objects a and b, the following relation should apply:
a.getHash().equals(b.getHash()) if and only if a.getLoginData().equals(b.getLoginData())