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.| Modifier and Type | Method and Description |
|---|---|
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. |
String getName()
LdapAttribute.StringSet<String> getStringValues()
LdapAttribute Values are
encoded in base64 format if the underlying value is of type byte[]. The
returned set is unmodifiable.Setvoid setAttribute(Attribute attribute) throws NamingException
LdapAttribute using the supplied attribute.attribute - AttributeNamingException - if the attribute values cannot be readvoid setName(String name)
LdapAttribute.name - StringAttribute toAttribute()
Attribute that represents the values in this
LdapAttribute.AttributeCopyright © 2014. All rights reserved.