public class SimpleLdapCandidateAttributeMapper extends SimpleLdapAttributeMapper
SimpleLdapAttributeMapper.
Adds logic to include encrypted CandidateId and additional info into the sakai user object.| Constructor and Description |
|---|
SimpleLdapCandidateAttributeMapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
init()
Completes configuration of this instance.
|
void |
mapUserDataOntoUserEdit(LdapUserData userData,
UserEdit userEdit)
Straightforward
LdapUserData to
UserEdit field-to-field mapping, including
properties. |
void |
setAdditionalInfoLength(int additionalInfoLength) |
void |
setAttributeMappings(Map<String,String> attributeMappings)
Caches the given Map reference and takes a
snapshot of the values therein for future
use by
SimpleLdapAttributeMapper.getSearchResultAttributes(). |
void |
setCandidateIdLength(int candidateIdLength) |
void |
setEncryption(ValueEncryptionUtilities encryption) |
void |
setServerConfigurationService(ServerConfigurationService value) |
void |
setStudentNumberLength(int value) |
escapeSearchFilterTerm, getAttributeMapping, getAttributeMappings, getFindUserByAidFilter, getFindUserByCrossAttributeSearchFilter, getFindUserByEidFilter, getFindUserByEmailFilter, getManyUsersInOneSearch, getReverseAttributeMap, getReverseAttributeMappings, getSearchResultAttributes, getUserBindDn, getUserDataDn, getUserTypeMapper, getValueMappings, mapLdapAttributeOntoUserData, mapLdapAttributeOntoUserData, mapLdapEntryOntoUserData, mapLdapEntryToSakaiUserType, reverseAttributeMap, setUserDataDn, setUserTypeMapper, setValueMappings, usePreferredFirstNamepublic void setEncryption(ValueEncryptionUtilities encryption)
public void setCandidateIdLength(int candidateIdLength)
public void setAdditionalInfoLength(int additionalInfoLength)
public void setStudentNumberLength(int value)
public void setServerConfigurationService(ServerConfigurationService value)
public void init()
Initializes internal mappings to a copy of
AttributeMappingConstants.DEFAULT_ATTR_MAPPINGS if
the current map is empty. Initializes user
type mapping strategy to a
EmptyStringUserTypeMapper if no strategy
has been specified.
This defaulting enables UDP config forward-compatibility.
init in interface LdapAttributeMapperinit in class SimpleLdapAttributeMapperpublic void setAttributeMappings(Map<String,String> attributeMappings)
SimpleLdapAttributeMapper.getSearchResultAttributes(). (using super method)setAttributeMappings in interface LdapAttributeMappersetAttributeMappings in class SimpleLdapAttributeMapperattributeMappings - the attribute map.SimpleLdapAttributeMapper.getAttributeMappings()public void mapUserDataOntoUserEdit(LdapUserData userData, UserEdit userEdit)
LdapUserData to
UserEdit field-to-field mapping, including
properties.mapUserDataOntoUserEdit in interface LdapAttributeMappermapUserDataOntoUserEdit in class SimpleLdapAttributeMapperuserData - a non-null user cache entryuserEdit - a non-null user domain objectCopyright © 2003–2022 Sakai Project. All rights reserved.