1 package com.atlassian.user.impl.ldap.search;
2
3 import com.atlassian.user.EntityException;
4 import com.atlassian.user.User;
5 import net.sf.ldaptemplate.support.filter.Filter;
6
7 public interface LDAPUserAdaptor
8 {
9 LDAPPagerInfo search(Filter searchFilter) throws EntityException;
10
11 LDAPPagerInfo search(Filter searchFilter, String[] attributesToReturnFromSearch) throws EntityException;
12
13 LDAPPagerInfo getUserAttributes(String username, String[] specifiedAttributes) throws EntityException;
14
15 String getUserDN(User user) throws EntityException;
16
17 String getUserDN(String userSearchPattern) throws EntityException;
18 }