Class DnUtils

    • Method Detail

      • getRdnAttributeType

        public static String getRdnAttributeType​(String rdn)
        Gets the attributeType of a RDN (the left part of the RDN). The RDN is supposed to contain only one AVA.
        Parameters:
        rdn - the RDN
        Returns:
        the attributeType
      • getRdnValue

        public static String getRdnValue​(String rdn)
        Gets the value of a RDN ( the right part of the RDN). The RDN is supposed to contain only one AVA.
        Parameters:
        rdn - the RDN
        Returns:
        the value of tpart of the RDN