Class LdapSearchResult


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

      Constructors 
      Constructor Description
      LdapSearchResult​(javax.naming.directory.Attributes attributes, java.lang.String dn)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      io.micronaut.core.convert.value.ConvertibleValues<java.lang.Object> getAttributes()  
      java.lang.String getDn()  
      void setAttributes​(javax.naming.directory.Attributes attributes)  
      void setDn​(java.lang.String dn)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LdapSearchResult

        public LdapSearchResult​(javax.naming.directory.Attributes attributes,
                                java.lang.String dn)
        Parameters:
        attributes - The LDAP attributes
        dn - The DN
    • Method Detail

      • getAttributes

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

        public void setAttributes​(javax.naming.directory.Attributes attributes)
        Parameters:
        attributes - The LDAP attributes
      • getDn

        public java.lang.String getDn()
        Returns:
        The DN
      • setDn

        public void setDn​(java.lang.String dn)
        Parameters:
        dn - The DN