protected int getIterations(final Map<String, Object> queryValues) {
        var iterations = properties.getNumberOfIterations();
        if (queryValues.containsKey(properties.getNumberOfIterationsFieldName())) {
            val longAsStr = queryValues.get(properties.getNumberOfIterationsFieldName()).toString();
            iterations = Integer.parseInt(longAsStr);
        }
        return iterations;
    }
This is {@link QueryAndEncodeDatabasePasswordEncoder}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-jdbc-authentication/src/main/java/org/apereo/cas/jdbc/QueryAndEncodeDatabasePasswordEncoder.java