@Override
    public void process(final AuthenticationBuilder builder, final AuthenticationTransaction transaction) {
        if (properties.isAsynchronous()) {
            executorService.execute(() -> synchronize(transaction));
        } else {
            synchronize(transaction);
        }
    }
This is {@link RestfulPasswordSynchronizationAuthenticationPostProcessor}.

@author Misagh Moayyed
@since 7.2.0
support/cas-server-support-pm-core/src/main/java/org/apereo/cas/pm/impl/RestfulPasswordSynchronizationAuthenticationPostProcessor.java