Class LdapMapDn

    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getFirstRdn

        public LdapMapDn.RDN getFirstRdn()
        Returns:
        first entry. Usually entry corresponding to something like "uid=joe" from the DN like "uid=joe,dc=something,dc=org"
      • getParentDn

        public LdapMapDn getParentDn()
        Returns:
        DN like "dc=something,dc=org" from the DN like "uid=joe,dc=something,dc=org". Returned DN will be new clone not related to the original DN instance.
      • isDescendantOf

        public boolean isDescendantOf​(LdapMapDn expectedParentDn)
      • addFirst

        public void addFirst​(String rdnName,
                             String rdnValue)