Package org.jivesoftware.admin
Class LdapUserProfile
java.lang.Object
org.jivesoftware.admin.LdapUserProfile
Bean that stores the vcard mapping. It is also responsible for saving the mapping
as a system property and retrieving it.
- Author:
- Gaston Dombiak
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEmail()getName()getPhoto()voidSets default mapping values when using an Active Directory server.voidSets default mapping values when using an Active Directory server.booleanReturns true if the vCard mappings where successfully loaded from the XML/DB properties.voidSaves current configuration as XML/DB properties.voidsetAvatarStoredInDB(Boolean avatarStoredInDB) voidsetBirthday(String birthday) voidsetBusinessCity(String businessCity) voidsetBusinessCountry(String businessCountry) voidsetBusinessDepartment(String businessDepartment) voidsetBusinessFax(String businessFax) voidsetBusinessJobTitle(String businessJobTitle) voidsetBusinessMobile(String businessMobile) voidsetBusinessPager(String businessPager) voidsetBusinessPhone(String businessPhone) voidsetBusinessState(String businessState) voidsetBusinessStreet(String businessStreet) voidsetBusinessZip(String businessZip) voidvoidsetFullName(String fullName) voidsetHomeCity(String homeCity) voidsetHomeCountry(String homeCountry) voidsetHomeFax(String homeFax) voidsetHomeMobile(String homeMobile) voidsetHomePager(String homePager) voidsetHomePhone(String homePhone) voidsetHomeState(String homeState) voidsetHomeStreet(String homeStreet) voidsetHomeZip(String homeZip) voidvoidsetNickname(String nickname) void
-
Constructor Details
-
LdapUserProfile
public LdapUserProfile()
-
-
Method Details
-
getName
-
setName
-
getEmail
-
setEmail
-
getFullName
-
setFullName
-
getNickname
-
setNickname
-
getBirthday
-
setBirthday
-
getPhoto
-
setPhoto
-
getHomeStreet
-
setHomeStreet
-
getHomeCity
-
setHomeCity
-
getHomeState
-
setHomeState
-
getHomeZip
-
setHomeZip
-
getHomeCountry
-
setHomeCountry
-
getHomePhone
-
setHomePhone
-
getHomeMobile
-
setHomeMobile
-
getHomeFax
-
setHomeFax
-
getHomePager
-
setHomePager
-
getBusinessStreet
-
setBusinessStreet
-
getBusinessCity
-
setBusinessCity
-
getBusinessState
-
setBusinessState
-
getBusinessZip
-
setBusinessZip
-
getBusinessCountry
-
setBusinessCountry
-
getBusinessJobTitle
-
setBusinessJobTitle
-
getBusinessDepartment
-
setBusinessDepartment
-
getBusinessPhone
-
setBusinessPhone
-
getBusinessMobile
-
setBusinessMobile
-
getBusinessFax
-
setBusinessFax
-
getBusinessPager
-
setBusinessPager
-
getAvatarStoredInDB
-
setAvatarStoredInDB
-
initForActiveDirectory
public void initForActiveDirectory()Sets default mapping values when using an Active Directory server. -
initForOpenLDAP
public void initForOpenLDAP()Sets default mapping values when using an Active Directory server. -
saveProperties
public void saveProperties()Saves current configuration as XML/DB properties. -
loadFromProperties
public boolean loadFromProperties()Returns true if the vCard mappings where successfully loaded from the XML/DB properties.- Returns:
- true if mappings where loaded from saved property.
-