private boolean executeModifyOperation(final Set<String> accounts, final Optional<LdapEntry> result) {
        if (result.isPresent()) {
            val entry = result.get();
            val ldapProperties = getProperties().getAuthn().getMfa().getWebAuthn().getLdap();
            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));
        }
        return false;
    }
This is {@link LdapWebAuthnCredentialRepository}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-webauthn-ldap/src/main/java/org/apereo/cas/webauthn/LdapWebAuthnCredentialRepository.java