All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.keycloak.models.credential.dto.PasswordCredentialData Maven / Gradle / Ivy

There is a newer version: 25.0.5
Show newest version
package org.keycloak.models.credential.dto;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;

public class PasswordCredentialData {
    private final int hashIterations;
    private final String algorithm;

    @JsonCreator
    public PasswordCredentialData(@JsonProperty("hashIterations") int hashIterations, @JsonProperty("algorithm") String algorithm) {
        this.hashIterations = hashIterations;
        this.algorithm = algorithm;
    }

    public int getHashIterations() {
        return hashIterations;
    }

    public String getAlgorithm() {
        return algorithm;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy