org.ldaptive.ad.handler
Class ObjectSidHandler
java.lang.Object
org.ldaptive.handler.AbstractSearchEntryHandler
org.ldaptive.ad.handler.AbstractBinaryAttributeHandler
org.ldaptive.ad.handler.ObjectSidHandler
- All Implemented Interfaces:
- Handler<SearchRequest,SearchEntry>, SearchEntryHandler
public class ObjectSidHandler
- extends AbstractBinaryAttributeHandler
Processes an objectSid attribute by converting it from binary to it's string
form. See http://msdn.microsoft.com/en-us/library/windows/desktop/
ms679024(v=vs.85).aspx.
- Version:
- $Revision: 2885 $ $Date: 2014-02-05 16:28:49 -0500 (Wed, 05 Feb 2014) $
- Author:
- Middleware Services
ObjectSidHandler
public ObjectSidHandler()
- Creates a new object sid handler.
ObjectSidHandler
public ObjectSidHandler(String attrName)
- Creates a new object sid handler.
- Parameters:
attrName - name of the attribute which is encoded as an objectSid
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.