Class LdapUserProfile

java.lang.Object
org.jivesoftware.openfire.vcard.VCardBean
org.jivesoftware.admin.LdapUserProfile

public class LdapUserProfile extends VCardBean
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 Details

    • LdapUserProfile

      public LdapUserProfile()
  • Method Details

    • getAvatarStoredInDB

      public Boolean getAvatarStoredInDB()
    • setAvatarStoredInDB

      public void setAvatarStoredInDB(Boolean avatarStoredInDB)
    • 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.