Package org.ldaptive.ad
Class UnicodePwdAttribute
- java.lang.Object
-
- org.ldaptive.LdapAttribute
-
- org.ldaptive.ad.UnicodePwdAttribute
-
public class UnicodePwdAttribute extends LdapAttribute
Helper class for the active directory unicodePwd attribute. Configures a binary attribute of that name and allows setting of the attribute value using a string. SeeUnicodePwdValueTranscoder.- Author:
- Middleware Services
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.ldaptive.LdapAttribute
LdapAttribute.Builder
-
-
Constructor Summary
Constructors Constructor Description UnicodePwdAttribute()Default constructor.UnicodePwdAttribute(java.lang.String... values)Creates a new unicode pwd attribute.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddStringValues(java.lang.String... value)Adds the supplied string as a value for this attribute.java.util.Collection<java.lang.String>getStringValues()Returns the values of this attribute as strings.-
Methods inherited from class org.ldaptive.LdapAttribute
addBinaryValues, addBinaryValues, addBufferValues, addBufferValues, addStringValues, addValues, addValues, builder, clear, configureBinary, equals, escapeValue, getBinaryValue, getBinaryValues, getName, getName, getOptions, getStringValue, getValue, getValues, hashCode, isBinary, removeBinaryValues, removeBinaryValues, removeBufferValues, removeBufferValues, removeStringValues, removeStringValues, setBinary, setName, size, sort, toString
-
-
-
-
Method Detail
-
getStringValues
public java.util.Collection<java.lang.String> getStringValues()
Description copied from class:LdapAttributeReturns the values of this attribute as strings. Binary data is base64 encoded. The return collection cannot be modified.- Overrides:
getStringValuesin classLdapAttribute- Returns:
- collection of string attribute values
-
addStringValues
public void addStringValues(java.lang.String... value)
Description copied from class:LdapAttributeAdds the supplied string as a value for this attribute.- Overrides:
addStringValuesin classLdapAttribute- Parameters:
value- to add, null values are discarded
-
-