Skip to content

Commit

Permalink
Fix after upstream change. (#743)
Browse files Browse the repository at this point in the history
* Fix after upstream change.

Signed-off-by: Anna Manukyan <amanukya@redhat.com>

* Update dataset/src/main/java/org/keycloak/benchmark/dataset/config/DatasetConfig.java

---------

Signed-off-by: Anna Manukyan <amanukya@redhat.com>
Co-authored-by: Anna Manukyan <amanukya@redhat.com>
Co-authored-by: Kamesh Akella <kakella@redhat.com>
  • Loading branch information
3 people committed Mar 24, 2024
1 parent 0734c02 commit 4e1e1b0
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@

package org.keycloak.benchmark.dataset.config;

import org.keycloak.credential.hash.Pbkdf2PasswordHashProviderFactory;
import org.keycloak.models.PasswordPolicy;

import org.keycloak.credential.hash.Pbkdf2Sha512PasswordHashProviderFactory;
import static org.keycloak.benchmark.dataset.config.DatasetOperation.CREATE_AUTHZ_CLIENT;
import static org.keycloak.benchmark.dataset.config.DatasetOperation.CREATE_CLIENTS;
import static org.keycloak.benchmark.dataset.config.DatasetOperation.CREATE_EVENTS;
Expand Down Expand Up @@ -153,8 +151,8 @@ public class DatasetConfig {
@QueryParamIntFill(paramName = "client-roles-per-user", defaultValue = 4, operations = { CREATE_REALMS, CREATE_USERS })
private Integer clientRolesPerUser;

// Password policy with the number of password hash iterations. It is 27500 by default
@QueryParamIntFill(paramName = "password-hash-iterations", defaultValue = PasswordPolicy.HASH_ITERATIONS_DEFAULT, operations = { CREATE_REALMS })
// Password policy with the number of password hash iterations. It is 210000 by default
@QueryParamIntFill(paramName = "password-hash-iterations", defaultValue = Pbkdf2Sha512PasswordHashProviderFactory.DEFAULT_ITERATIONS, operations = { CREATE_REALMS })
private Integer passwordHashIterations;

// Check if eventStorage will be enabled for newly created realms
Expand Down

0 comments on commit 4e1e1b0

Please sign in to comment.