private boolean executeModifyOperation(final Set<String> accounts, final LdapEntry entry) {
        val attrMap = new HashMap<String, Set<String>>();
        attrMap.put(ldapProperties.getAccountAttributeName(), accounts);
        LOGGER.debug("Storing records [{}] at LDAP attribute [{}] for [{}]", accounts, attrMap.keySet(), entry.getDn());
        return connectionFactory.executeModifyOperation(entry.getDn(), CollectionUtils.wrap(attrMap));
    }
This is {@link LdapGoogleAuthenticatorTokenCredentialRepository}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-gauth-ldap/src/main/java/org/apereo/cas/gauth/credential/LdapGoogleAuthenticatorTokenCredentialRepository.java