Package org.keycloak.models.credential
Class PasswordCredentialModel
java.lang.Object
org.keycloak.credential.CredentialModel
org.keycloak.models.credential.PasswordCredentialModel
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields inherited from class org.keycloak.credential.CredentialModel
CLIENT_CERT, HOTP, KERBEROS, OTP, PASSWORD, PASSWORD_TOKEN, SECRET, TOTP
-
Method Summary
Modifier and TypeMethodDescriptionstatic PasswordCredentialModel
createFromCredentialModel
(CredentialModel credentialModel) static PasswordCredentialModel
createFromValues
(String algorithm, byte[] salt, int hashIterations, String encodedPassword) static PasswordCredentialModel
createFromValues
(PasswordCredentialData credentialData, PasswordSecretData secretData) Methods inherited from class org.keycloak.credential.CredentialModel
comparingByStartDateDesc, 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 Details
-
TYPE
- See Also:
-
PASSWORD_HISTORY
- See Also:
-
-
Method Details
-
createFromValues
public static PasswordCredentialModel createFromValues(PasswordCredentialData credentialData, PasswordSecretData secretData) -
createFromValues
public static PasswordCredentialModel createFromValues(String algorithm, byte[] salt, int hashIterations, String encodedPassword) -
createFromCredentialModel
-
getPasswordCredentialData
-
getPasswordSecretData
-