org.ldaptive.ad.handler
Class ObjectGuidHandler
java.lang.Object
org.ldaptive.handler.AbstractSearchEntryHandler
org.ldaptive.ad.handler.AbstractBinaryAttributeHandler
org.ldaptive.ad.handler.ObjectGuidHandler
- All Implemented Interfaces:
- Handler<SearchRequest,SearchEntry>, SearchEntryHandler
public class ObjectGuidHandler
- extends AbstractBinaryAttributeHandler
Processes an objectGuid attribute by converting it from binary to it's string
form.
- Version:
- $Revision: 2885 $ $Date: 2014-02-05 16:28:49 -0500 (Wed, 05 Feb 2014) $
- Author:
- Middleware Services
ObjectGuidHandler
public ObjectGuidHandler()
- Creates a new object guid handler.
ObjectGuidHandler
public ObjectGuidHandler(String attrName)
- Creates a new object guid handler.
- Parameters:
attrName - name of the attribute which is encoded as an objectGUID
convertValue
protected String convertValue(byte[] value)
- Converts the supplied binary value to it's string form.
- Specified by:
convertValue in class AbstractBinaryAttributeHandler
- Parameters:
value - to convert
- Returns:
- string form of the value
hashCode
public int hashCode()
-
- Overrides:
hashCode in class AbstractBinaryAttributeHandler
Copyright © 2003-2017 Virginia Tech. All Rights Reserved.