@Override
    public void updateSecurityQuestions(final PasswordManagementQuery query) {
        jdbcTemplate.update(casProperties.getAuthn().getPm().getJdbc().getSqlDeleteSecurityQuestions(), query.getUsername());
        query.getSecurityQuestions().forEach((question, values) -> values.forEach(answer ->
            jdbcTemplate.update(casProperties.getAuthn().getPm().getJdbc().getSqlUpdateSecurityQuestions(),
                query.getUsername(), question, answer)));
    }
This is {@link JdbcPasswordManagementService}.

@author Misagh Moayyed
@since 5.1.0
support/cas-server-support-pm-jdbc/src/main/java/org/apereo/cas/pm/jdbc/JdbcPasswordManagementService.java