KEYCLOAK-14687: Pbkdf2PasswordHashProviderFactory does not use DEFAULT_ITERATIONS

This commit is contained in:
testn 2020-07-08 09:47:13 +07:00 committed by Stian Thorgersen
parent 2ec572e9b5
commit 78a1c6cf23

View file

@ -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