|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portlet.search.ldap.LdapSearchServiceImpl
public class LdapSearchServiceImpl
| Constructor Summary | |
|---|---|
LdapSearchServiceImpl()
|
|
| Method Summary | |
|---|---|
java.util.List<Person> |
searchDirectory(java.lang.String searchterm,
boolean loggedIn)
Search the configured LDAP directory with the specified search term |
void |
setGuestAttributes(java.util.List<java.lang.String> guestAttributes)
Set the list of allowed LDAP attributes to display to guest users. |
void |
setLdapTemplate(org.springframework.ldap.core.LdapTemplate ldapTemplate)
|
void |
setLoggedInAttributes(java.util.List<java.lang.String> loggedInAttributes)
Set the list of allowed LDAP attributes to display to logged in users. |
void |
setPersonAttributesMapper(PersonAttributesMapper personAttributesMapper)
|
void |
setQueryAttribute(java.lang.String queryAttribute)
Set the LDAP attribute to run queries against. |
void |
setReturnedLimit(int returnedLimit)
Set the limit for the number of Person objects that should be returned from an LDAP search. |
void |
setSearchBase(java.lang.String searchBase)
Set the search base for LDAP directory search. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LdapSearchServiceImpl()
| Method Detail |
|---|
public java.util.List<Person> searchDirectory(java.lang.String searchterm,
boolean loggedIn)
searchterm - user's search termloggedIn - true for logged in users
public void setQueryAttribute(java.lang.String queryAttribute)
queryAttribute - public void setLdapTemplate(org.springframework.ldap.core.LdapTemplate ldapTemplate)
public void setPersonAttributesMapper(PersonAttributesMapper personAttributesMapper)
public void setGuestAttributes(java.util.List<java.lang.String> guestAttributes)
guestAttributes - public void setLoggedInAttributes(java.util.List<java.lang.String> loggedInAttributes)
loggedInAttributes - public void setReturnedLimit(int returnedLimit)
returnedLimit - public void setSearchBase(java.lang.String searchBase)
searchBase -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||