Constructor and Description |
---|
GenericConverter() |
Modifier and Type | Method and Description |
---|---|
static LdapName |
emptyLdapName() |
LdapName |
getName(String dn)
Escapes and converts a DN into a Name, for use with LDAP through JNDI.
|
LdapName |
getName(String attributeName,
String objectName,
LdapName baseDN)
Returns a Name escaped for JNDI and LDAP, for use with a directory.
|
public LdapName getName(String dn) throws InvalidNameException
Converter
getName
in interface Converter
InvalidNameException
public LdapName getName(String attributeName, String objectName, LdapName baseDN) throws InvalidNameException
Converter
getName
in interface Converter
baseDN
- A correctly-escaped DN. May be empty or null.InvalidNameException
Copyright © 2021 Atlassian. All rights reserved.