Package org.keycloak.models.credential
Class PasswordCredentialModel
- java.lang.Object
- 
- org.keycloak.credential.CredentialModel
- 
- org.keycloak.models.credential.PasswordCredentialModel
 
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class PasswordCredentialModel extends CredentialModel - See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringPASSWORD_HISTORYstatic StringTYPE- 
Fields inherited from class org.keycloak.credential.CredentialModelCLIENT_CERT, HOTP, KERBEROS, OTP, PASSWORD, PASSWORD_TOKEN, SECRET, TOTP
 
- 
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PasswordCredentialModelcreateFromCredentialModel(CredentialModel credentialModel)static PasswordCredentialModelcreateFromValues(String algorithm, byte[] salt, int hashIterations, String encodedPassword)static PasswordCredentialModelcreateFromValues(PasswordCredentialData credentialData, PasswordSecretData secretData)PasswordCredentialDatagetPasswordCredentialData()PasswordSecretDatagetPasswordSecretData()- 
Methods inherited from class org.keycloak.credential.CredentialModelcomparingByStartDateDesc, getAlgorithm, getConfig, getCounter, getCreatedDate, getCredentialData, getDevice, getDigits, getHashIterations, getId, getPeriod, getSalt, getSecretData, getType, getUserLabel, getValue, setAlgorithm, setConfig, setCounter, setCreatedDate, setCredentialData, setDevice, setDigits, setHashIterations, setId, setPeriod, setSalt, setSecretData, setType, setUserLabel, setValue, shallowClone
 
- 
 
- 
- 
- 
Field Detail- 
TYPEpublic static final String TYPE - See Also:
- Constant Field Values
 
 - 
PASSWORD_HISTORYpublic static final String PASSWORD_HISTORY - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
createFromValuespublic static PasswordCredentialModel createFromValues(PasswordCredentialData credentialData, PasswordSecretData secretData) 
 - 
createFromValuespublic static PasswordCredentialModel createFromValues(String algorithm, byte[] salt, int hashIterations, String encodedPassword) 
 - 
createFromCredentialModelpublic static PasswordCredentialModel createFromCredentialModel(CredentialModel credentialModel) 
 - 
getPasswordCredentialDatapublic PasswordCredentialData getPasswordCredentialData() 
 - 
getPasswordSecretDatapublic PasswordSecretData getPasswordSecretData() 
 
- 
 
-