Class LdapSearchResult

java.lang.Object
io.micronaut.security.ldap.context.LdapSearchResult

public class LdapSearchResult extends Object
Contains the data returned from an LDAP search.
Since:
1.0
Author:
James Kleeh
  • Constructor Details

    • LdapSearchResult

      public LdapSearchResult(Attributes attributes, String dn)
      Parameters:
      attributes - The LDAP attributes
      dn - The DN
  • Method Details

    • getAttributes

      public io.micronaut.core.convert.value.ConvertibleValues<Object> getAttributes()
      Returns:
      A ConvertibleValues representation of the LDAP attributes
    • setAttributes

      public void setAttributes(Attributes attributes)
      Parameters:
      attributes - The LDAP attributes
    • getDn

      public String getDn()
      Returns:
      The DN
    • setDn

      public void setDn(String dn)
      Parameters:
      dn - The DN