protected byte[] getDynamicSalt(final Map<String, Object> queryValues) {
        return queryValues.containsKey(properties.getSaltFieldName())
            ? queryValues.get(properties.getSaltFieldName()).toString().getBytes(StandardCharsets.UTF_8)
            : ArrayUtils.EMPTY_BYTE_ARRAY;
    }
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