|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NameComponentNormalizer
Normalizers of ldap name component attributes and their values.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
boolean isDefined(java.lang.String id)
id - the name/oid of the attribute to see if it is defined
java.lang.String normalizeName(java.lang.String attributeName)
throws javax.naming.NamingException
attributeName - the name or OID of the attributeType
javax.naming.NamingException - if the attributeName is not recognized as a valid alias
java.lang.Object normalizeByName(java.lang.String attributeName,
java.lang.String value)
throws javax.naming.NamingException
attributeName - the name of the attributevalue - the value of the attribute to normalize
javax.naming.NamingException - if there is a recognition problem or a syntax issue
java.lang.Object normalizeByName(java.lang.String attributeName,
byte[] value)
throws javax.naming.NamingException
attributeName - the name of the attributevalue - the value of the attribute to normalize
javax.naming.NamingException - if there is a recognition problem or a syntax issue
java.lang.Object normalizeByOid(java.lang.String attributeOid,
java.lang.String value)
throws javax.naming.NamingException
attributeOid - the OID of the attributevalue - the value of the attribute to normalize
javax.naming.NamingException - if there is a recognition problem or a syntax issue
java.lang.Object normalizeByOid(java.lang.String attributeOid,
byte[] value)
throws javax.naming.NamingException
attributeOid - the OID of the attributevalue - the value of the attribute to normalize
javax.naming.NamingException - if there is a recognition problem or a syntax issue
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||