package org.jspare.vertx.ldap;

import org.jspare.core.annotation.Component;

import com.unboundid.ldap.sdk.SearchResult;
import com.unboundid.ldap.sdk.SearchScope;

import io.vertx.core.AsyncResult;
import io.vertx.core.Handler;

@Component
public interface LdapClient {

  void search(SearchScope scope, String filter, String[] attributes, Handler<AsyncResult<SearchResult>> resultHandler);

  void validateCredentials(String username, String password, Handler<AsyncResult<Boolean>> resultHandler);
}
@@ -29,54 +29,8 @@
 p;%0A%0A
-import org.jspare.core.annotation.Component;%0A%0A
 impo
@@ -176,16 +176,50 @@
 Handler;
+%0Aimport org.jspare.core.Component;
 %0A%0A@Compo
@@ -483,8 +483,9 @@
 dler);%0A%7D
+%0A

fix jspare import