From 78a1c6cf23d06c1899563c909d444a5d372bc1f6 Mon Sep 17 00:00:00 2001 From: testn Date: Wed, 8 Jul 2020 09:47:13 +0700 Subject: [PATCH] KEYCLOAK-14687: Pbkdf2PasswordHashProviderFactory does not use DEFAULT_ITERATIONS --- .../credential/hash/Pbkdf2PasswordHashProviderFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server-spi-private/src/main/java/org/keycloak/credential/hash/Pbkdf2PasswordHashProviderFactory.java b/server-spi-private/src/main/java/org/keycloak/credential/hash/Pbkdf2PasswordHashProviderFactory.java index 44e0e12d76..23c2d080ac 100644 --- a/server-spi-private/src/main/java/org/keycloak/credential/hash/Pbkdf2PasswordHashProviderFactory.java +++ b/server-spi-private/src/main/java/org/keycloak/credential/hash/Pbkdf2PasswordHashProviderFactory.java @@ -34,7 +34,7 @@ public class Pbkdf2PasswordHashProviderFactory implements PasswordHashProviderFa @Override public PasswordHashProvider create(KeycloakSession session) { - return new Pbkdf2PasswordHashProvider(ID, PBKDF2_ALGORITHM, 20000); + return new Pbkdf2PasswordHashProvider(ID, PBKDF2_ALGORITHM, DEFAULT_ITERATIONS); } @Override