Class PasswordSecretData
java.lang.Object
org.keycloak.models.credential.dto.PasswordSecretData
-
Field Summary
-
Constructor Summary
ConstructorDescriptionPasswordSecretData
(String value, byte[] salt) Default creator (Secret consists only of a value and a single salt)Creator with the option to provide customized secret data (multiple salt values, chiefly) -
Method Summary
-
Field Details
-
logger
public static final org.jboss.logging.Logger logger
-
-
Constructor Details
-
PasswordSecretData
public PasswordSecretData(String value, String salt, Map<String, List<String>> additionalParameters) throws IOExceptionCreator with the option to provide customized secret data (multiple salt values, chiefly)- Parameters:
value
- hash valuesalt
- salt valueadditionalParameters
- additional data required by the algorithm- Throws:
IOException
- invalid base64 in salt value
-
PasswordSecretData
Default creator (Secret consists only of a value and a single salt)- Parameters:
value
- hash valuesalt
- salt
-
-
Method Details
-
getValue
-
getSalt
public byte[] getSalt() -
getAdditionalParameters
-