@Override
    public boolean changeInternal(final PasswordChangeRequest bean) {
        var result = this.transactionTemplate.execute(action -> {
            val password = passwordEncoder.encode(bean.toPassword());
            val count = this.jdbcTemplate.update(casProperties.getAuthn().getPm().getJdbc().getSqlChangePassword(), password, bean.getUsername());
            return count > 0;
        });
        return BooleanUtils.toBoolean(result);
    }
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