java.lang.Object
com.webmethods.portal.service.dir.ldap.LDAPDN

public class LDAPDN extends Object
  • Constructor Details

    • LDAPDN

      public LDAPDN()
  • Method Details

    • escapeRDN

      public static String escapeRDN(String rdn)
      Returns the RDN after escaping the characters specified by netscape.ldap.util.DN.ESCAPED_CHAR.

      Parameters:
      rdn - the RDN to escape
      Returns:
      the RDN with the characters escaped.
      See Also:
      • netscape.ldap.util.DN#ESCAPED_CHAR
      • netscape.ldap.LDAPDN#unEscapeRDN(java.lang.String)
    • normalize

      public static String normalize(String dn)
      Normalizes the dn.
      Parameters:
      dn - the DN to normalize
      Returns:
      the normalized DN
    • unEscapeRDN

      public static String unEscapeRDN(String rdn)
      Returns the RDN after unescaping any escaped characters. For a list of characters that are typically escaped in a DN, see netscape.ldap.LDAPDN.ESCAPED_CHAR.

      Parameters:
      rdn - the RDN to unescape
      Returns:
      the unescaped RDN.
      See Also:
      • netscape.ldap.util.DN#ESCAPED_CHAR
      • netscape.ldap.LDAPDN#escapeRDN(java.lang.String)