public class DNUtils extends Object
Constructor and Description |
---|
DNUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
DNtoName(String dn)
Converts a DN string to the token value of the naming attribute.
|
static String |
DNtoName(String dn,
boolean noTypes)
Converts a DN string to the token value of the naming attribute.
|
static String |
normalizeDN(org.forgerock.opendj.ldap.DN dn) |
static String |
normalizeDN(String dn)
Returns the normalized DN string.
|
public static String normalizeDN(String dn)
dn
- string needs to be normalized.public static String normalizeDN(org.forgerock.opendj.ldap.DN dn)
public static String DNtoName(String dn)
dn
- The passed in DN stringpublic static String DNtoName(String dn, boolean noTypes)
dn
- The passed in DN stringnoTypes
- if true, returns only the values of the components and
not the names(such as "cn")Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.