public class LdapSearchAdapter extends AbstractSearchAdapter
filters, searchFilterAttribute| Constructor and Description |
|---|
LdapSearchAdapter(org.springframework.ldap.core.LdapTemplate ldapTemplate) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
constructSearch(String searchValue,
String searchFilter) |
Contact |
getByURN(String urn) |
protected SearchControls |
getSearchControls()
Construct a new search controls object for our search
|
protected List<Contact> |
getSearchResults(String search) |
protected String[] |
requiredAttributes() |
ContactSet |
search(String searchText) |
ContactSet |
search(String searchText,
String filter) |
void |
setAttributesMapper(org.springframework.ldap.core.AttributesMapper contactMapper) |
void |
setCountLimit(int countLimit) |
void |
setFilterAttribute(String filterAttribute) |
void |
setLdapSearchFilters(Set<org.springframework.ldap.filter.CompareFilter> filter) |
void |
setModelObjectFactory(ModelObjectFactory factory) |
void |
setSearchAttribute(String searchAttribute) |
void |
setTimeLimit(int timeLimit) |
getFilterAttribute, getFilters, setFiltersgetContext, setContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContext, setContextpublic LdapSearchAdapter(org.springframework.ldap.core.LdapTemplate ldapTemplate)
public void setLdapSearchFilters(Set<org.springframework.ldap.filter.CompareFilter> filter)
public void setTimeLimit(int timeLimit)
public void setCountLimit(int countLimit)
public void setSearchAttribute(String searchAttribute)
public void setFilterAttribute(String filterAttribute)
setFilterAttribute in interface SearchAdaptersetFilterAttribute in class AbstractSearchAdapterpublic ContactSet search(String searchText)
public ContactSet search(String searchText, String filter)
protected SearchControls getSearchControls()
protected String[] requiredAttributes()
requiredAttributes in class AbstractContactAdapter@Autowired public void setModelObjectFactory(ModelObjectFactory factory)
public void setAttributesMapper(org.springframework.ldap.core.AttributesMapper contactMapper)
Copyright © 2013 Jasig. All Rights Reserved.