Package org.ldaptive.ad.transcode
Class UnicodePwdValueTranscoder
java.lang.Object
org.ldaptive.transcode.AbstractBinaryValueTranscoder<String>
org.ldaptive.ad.transcode.UnicodePwdValueTranscoder
- All Implemented Interfaces:
ValueTranscoder<String>
Decodes and encodes an active directory unicodePwd value for use in an ldap attribute value.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecodeBinaryValue
(byte[] value) Decodes the supplied ldap attribute value into a custom type.byte[]
encodeBinaryValue
(String value) Encodes the supplied value into an ldap attribute value.getType()
Returns the type produced by this value transcoder.Methods inherited from class org.ldaptive.transcode.AbstractBinaryValueTranscoder
decodeStringValue, encodeStringValue
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ldaptive.transcode.ValueTranscoder
decoder, encoder
-
Constructor Details
-
UnicodePwdValueTranscoder
public UnicodePwdValueTranscoder()
-
-
Method Details
-
decodeBinaryValue
Description copied from interface:ValueTranscoder
Decodes the supplied ldap attribute value into a custom type.- Parameters:
value
- to decode- Returns:
- decoded value
-
encodeBinaryValue
Description copied from interface:ValueTranscoder
Encodes the supplied value into an ldap attribute value.- Parameters:
value
- to encode- Returns:
- encoded value
-
getType
Description copied from interface:ValueTranscoder
Returns the type produced by this value transcoder.- Returns:
- type produced by this value transcoder
-