org.ldaptive.ad.io
Class UnicodePwdValueTranscoder
java.lang.Object
org.ldaptive.io.AbstractBinaryValueTranscoder<String>
org.ldaptive.ad.io.UnicodePwdValueTranscoder
- All Implemented Interfaces:
- ValueTranscoder<String>
public class UnicodePwdValueTranscoder
- extends AbstractBinaryValueTranscoder<String>
Decodes and encodes an active directory unicodePwd value for use in an ldap
attribute value.
- Version:
- $Revision: 2998 $ $Date: 2014-06-11 13:28:09 -0400 (Wed, 11 Jun 2014) $
- Author:
- Middleware Services
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnicodePwdValueTranscoder
public UnicodePwdValueTranscoder()
decodeBinaryValue
public String decodeBinaryValue(byte[] value)
- Decodes the supplied ldap attribute value into a custom type.
- Parameters:
value - to decode
- Returns:
- decoded value
encodeBinaryValue
public byte[] encodeBinaryValue(String value)
- Encodes the supplied value into an ldap attribute value.
- Parameters:
value - to encode
- Returns:
- encoded value
getType
public Class<String> getType()
- Returns the type produced by this value transcoder.
- Returns:
- type produced by this value transcoder
Copyright © 2003-2017 Virginia Tech. All Rights Reserved.