public class MultipleEmailLdapAttributeMapper extends SimpleLdapAttributeMapper
Thanks to Erik Froese of NYU for the original patch
| Constructor and Description |
|---|
MultipleEmailLdapAttributeMapper() |
| Modifier and Type | Method and Description |
|---|---|
protected StringBuilder |
appendSingleSearchPredicate(StringBuilder into,
String physicalAttrName,
String rawSearchTerm) |
String |
getFindUserByEmailFilter(String emailAddr)
Builds a filter of the form <email-attr>=<
emailAddr> |
List<String> |
getSearchableEmailAttributes()
Access the list of logical attribute names searched when
locating a user entry by email address.
|
void |
setSearchableEmailAttributes(List<String> searchableEmailAttributes)
Assign the list of logical attribute names to search when
locating a user entry by email address.
|
escapeSearchFilterTerm, getAttributeMapping, getAttributeMappings, getFindUserByAidFilter, getFindUserByCrossAttributeSearchFilter, getFindUserByEidFilter, getManyUsersInOneSearch, getReverseAttributeMap, getReverseAttributeMappings, getSearchResultAttributes, getUserBindDn, getUserDataDn, getUserTypeMapper, getValueMappings, init, mapLdapAttributeOntoUserData, mapLdapAttributeOntoUserData, mapLdapEntryOntoUserData, mapLdapEntryToSakaiUserType, mapUserDataOntoUserEdit, reverseAttributeMap, setAttributeMappings, setUserDataDn, setUserTypeMapper, setValueMappings, usePreferredFirstNamepublic List<String> getSearchableEmailAttributes()
nullpublic String getFindUserByEmailFilter(String emailAddr)
SimpleLdapAttributeMapperemailAddr>getFindUserByEmailFilter in interface LdapAttributeMappergetFindUserByEmailFilter in class SimpleLdapAttributeMapperemailAddr - an email address to search onprotected StringBuilder appendSingleSearchPredicate(StringBuilder into, String physicalAttrName, String rawSearchTerm)
public void setSearchableEmailAttributes(List<String> searchableEmailAttributes)
null,
will have the effect of clearing the current attribute list.
Note that this configuration option has no bearing on the
email address which will be mapped to UserEdit.emailsearchableEmailAttributes - a list of logical attribute
names. null treated like an empty list.Copyright © 2003–2022 Sakai Project. All rights reserved.