Class LDAPDN
java.lang.Object
com.webmethods.portal.service.dir.ldap.LDAPDN
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
Returns the RDN after escaping the characters specified bynetscape.ldap.util.DN.ESCAPED_CHAR
.static String
Normalizes the dn.static String
unEscapeRDN
(String rdn) Returns the RDN after unescaping any escaped characters.
-
Constructor Details
-
LDAPDN
public LDAPDN()
-
-
Method Details
-
escapeRDN
Returns the RDN after escaping the characters specified bynetscape.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
Normalizes the dn.- Parameters:
dn
- the DN to normalize- Returns:
- the normalized DN
-
unEscapeRDN
Returns the RDN after unescaping any escaped characters. For a list of characters that are typically escaped in a DN, seenetscape.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)
-