Class SerLdapEntry

java.lang.Object
org.bremersee.ldaptive.serializable.SerLdapEntry
All Implemented Interfaces:
Serializable

public class SerLdapEntry extends Object implements Serializable
The serializable ldap entry.
Author:
Christian Bremer
See Also:
  • Constructor Details

    • SerLdapEntry

      public SerLdapEntry(org.ldaptive.LdapEntry ldapEntry)
      Instantiates a new serializable ldap entry.
      Parameters:
      ldapEntry - the ldap entry
    • SerLdapEntry

      public SerLdapEntry(String dn, List<SerLdapAttr> attributes)
      Instantiates a new Ser ldap entry.
      Parameters:
      dn - the dn
      attributes - the attributes
  • Method Details

    • toLdapEntry

      public org.ldaptive.LdapEntry toLdapEntry()
      To ldap entry.
      Returns:
      the ldap entry
    • findAttribute

      public Optional<SerLdapAttr> findAttribute(String attributeName)
      Find attribute.
      Parameters:
      attributeName - the attribute name
      Returns:
      the optional attribute