@Override
    public boolean store(final PasswordChangeRequest changeRequest) {
        val encodedPassword = encodePassword(changeRequest.toPassword());
        val entity = new JdbcPasswordHistoryEntity();
        entity.setUsername(changeRequest.getUsername());
        entity.setPassword(encodedPassword);
        this.entityManager.merge(entity);
        return true;
    }
This is {@link JdbcPasswordHistoryService}.

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