|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.String |
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.String |
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.String |
normalizeByOid(java.lang.String attributeOid,
byte[] value)
Normalizes an attribute's value given the OID of the attribute. |
java.lang.String |
normalizeByOid(java.lang.String attributeOid,
java.lang.String value)
Normalizes an attribute's value given the OID of the attribute. |
Method Detail |
public boolean isDefined(java.lang.String id)
id
- the name/oid of the attribute to see if it is defined
public java.lang.String 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 issuepublic java.lang.String 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 issuepublic java.lang.String 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 issuepublic java.lang.String 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 |