Interface LdapEntryMapper<T>

Type Parameters:
T - type of object to map
All Known Implementing Classes:
AbstractLdapEntryMapper, DefaultLdapEntryMapper, SpringLdapEntryMapper

public interface LdapEntryMapper<T>
Interface for ldap entry mappers.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    map(LdapEntry source, T dest)
    Injects data from the supplied ldap entry into the supplied destination object.
    void
    map(T source, LdapEntry dest)
    Injects data from the supplied source object into the supplied ldap entry.
    mapDn(T object)
    Returns the LDAP DN for the supplied object.
  • Method Details

    • mapDn

      String mapDn(T object)
      Returns the LDAP DN for the supplied object.
      Parameters:
      object - to retrieve the DN from
      Returns:
      LDAP DN
    • map

      void map(T source, LdapEntry dest)
      Injects data from the supplied source object into the supplied ldap entry.
      Parameters:
      source - to read from
      dest - to write to
    • map

      void map(LdapEntry source, T dest)
      Injects data from the supplied ldap entry into the supplied destination object.
      Parameters:
      source - to read from
      dest - to write to