Remove the org.nuxeo.ecm.directory.sql.SQLDirectoryProxy and org.nuxeo.ecm.directory.ldap.LDAPDirectoryProxy class which does not provide any business code. This class are only "mirror" of the SQLDirectory and LDAPDirectory.
Replace this class by using the native directory class in the registry