|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LdapAttribute
LdapAttribute represents a single ldap attribute. Ldap attribute
values must be unique per http://tools.ietf.org/html/rfc4512#section-2.3. For
any given attribute, the values must all be of the same type.
| Method Summary | |
|---|---|
String |
getName()
This returns the name of this LdapAttribute. |
Set<String> |
getStringValues()
This returns the value(s) of this LdapAttribute Values are
encoded in base64 format if the underlying value is of type byte[]. |
Set<Object> |
getValues()
This returns the value(s) of this LdapAttribute. |
void |
setAttribute(Attribute attribute)
This sets this LdapAttribute using the supplied attribute. |
void |
setName(String name)
This sets the name of this LdapAttribute. |
Attribute |
toAttribute()
This returns an Attribute that represents the values in this
LdapAttribute. |
| Method Detail |
|---|
String getName()
LdapAttribute.
StringSet<Object> getValues()
LdapAttribute.
SetSet<String> getStringValues()
LdapAttribute Values are
encoded in base64 format if the underlying value is of type byte[]. The
returned set is unmodifiable.
Set
void setAttribute(Attribute attribute)
throws NamingException
LdapAttribute using the supplied attribute.
attribute - Attribute
NamingException - if the attribute values cannot be readvoid setName(String name)
LdapAttribute.
name - StringAttribute toAttribute()
Attribute that represents the values in this
LdapAttribute.
Attribute
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||