@Override
    public void deleteAll() {
        val response = getSearchResultResponse();
        if (LdapUtils.containsResultEntry(response)) {
            response.getEntries().forEach(connectionFactory::executeDeleteOperation);
        }
    }
Implementation of the ServiceRegistry interface which stores the services in a LDAP Directory.

@author Misagh Moayyed
@author Marvin S. Addison
@since 4.0.0
support/cas-server-support-ldap-service-registry/src/main/java/org/apereo/cas/adaptors/ldap/services/LdapServiceRegistry.java