public interface NameComponentNormalizer
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDefined(java.lang.String id)
Checks to see if an attribute name/oid is defined.
|
java.lang.Object |
normalizeByName(java.lang.String attributeName,
byte[] value)
Normalizes an attribute's value given the name of the attribute - short
names like 'cn' as well as 'commonName' should work here.
|
java.lang.Object |
normalizeByName(java.lang.String attributeName,
java.lang.String value)
Normalizes an attribute's value given the name of the attribute - short
names like 'cn' as well as 'commonName' should work here.
|
java.lang.Object |
normalizeByOid(java.lang.String attributeOid,
byte[] value)
Normalizes an attribute's value given the OID of the attribute.
|
java.lang.Object |
normalizeByOid(java.lang.String attributeOid,
java.lang.String value)
Normalizes an attribute's value given the OID of the attribute.
|
java.lang.String |
normalizeName(java.lang.String attributeName)
Normalizes the attribute name/alias to use the OID for it instead.
|
boolean isDefined(java.lang.String id)
id - the name/oid of the attribute to see if it is definedjava.lang.String normalizeName(java.lang.String attributeName)
throws LdapException
attributeName - the name or OID of the attributeTypeLdapException - if the attributeName is not recognized as a valid aliasjava.lang.Object normalizeByName(java.lang.String attributeName,
java.lang.String value)
throws LdapException
attributeName - the name of the attributevalue - the value of the attribute to normalizeLdapException - if there is a recognition problem or a syntax issuejava.lang.Object normalizeByName(java.lang.String attributeName,
byte[] value)
throws LdapException
attributeName - the name of the attributevalue - the value of the attribute to normalizeLdapException - if there is a recognition problem or a syntax issuejava.lang.Object normalizeByOid(java.lang.String attributeOid,
java.lang.String value)
throws LdapException
attributeOid - the OID of the attributevalue - the value of the attribute to normalizeLdapException - if there is a recognition problem or a syntax issuejava.lang.Object normalizeByOid(java.lang.String attributeOid,
byte[] value)
throws LdapException
attributeOid - the OID of the attributevalue - the value of the attribute to normalizeLdapException - if there is a recognition problem or a syntax issue