public boolean executeModifyOperation(final String currentDn, final LdapEntry entry) {
        val attributes = entry.getAttributes().stream()
            .collect(Collectors.toMap(LdapAttribute::getName,
                ldapAttribute -> new HashSet<>(ldapAttribute.getStringValues())));
        return executeModifyOperation(currentDn, attributes);
    }
Execute modify operation boolean.

@param currentDn the current dn
@param entry     the entry
@return true/false
support/cas-server-support-ldap-core/src/main/java/org/apereo/cas/util/LdapConnectionFactory.java