org.ldaptive.ad.handler
Class RangeEntryHandler

java.lang.Object
  extended by org.ldaptive.handler.AbstractSearchEntryHandler
      extended by org.ldaptive.ad.handler.RangeEntryHandler
All Implemented Interfaces:
Handler<SearchRequest,SearchEntry>, SearchEntryHandler

public class RangeEntryHandler
extends AbstractSearchEntryHandler

Rewrites attributes returned from Active Directory to include all values by performing additional searches. This behavior is based on the expired RFC "Incremental Retrieval of Multi-valued Properties" http://www.ietf.org/proceedings/53/I-D/draft-kashi-incremental-00.txt.

For example, when the membership of a group exceeds 1500, requests for the member attribute will likely return an attribute with name "member;Range=0-1499" and 1500 values. For a group with just over 3000 members, subsequent searches will request "member;Range=1500-2999" and then "member;Range=3000-4499". When the returned attribute is of the form "member;Range=3000-*", all values have been retrieved.

Version:
$Revision: 2885 $ $Date: 2014-02-05 16:28:49 -0500 (Wed, 05 Feb 2014) $
Author:
Middleware Services, Tom Zeller

Field Summary
 
Fields inherited from class org.ldaptive.handler.AbstractSearchEntryHandler
logger
 
Constructor Summary
RangeEntryHandler()
           
 
Method Summary
protected  void handleAttributes(Connection conn, SearchRequest request, SearchEntry entry)
          Handle the attributes of a search entry.
 int hashCode()
          
 
Methods inherited from class org.ldaptive.handler.AbstractSearchEntryHandler
equals, handle, handleAttribute, handleAttributeName, handleAttributeValue, handleAttributeValue, handleDn, initializeRequest
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RangeEntryHandler

public RangeEntryHandler()
Method Detail

handleAttributes

protected void handleAttributes(Connection conn,
                                SearchRequest request,
                                SearchEntry entry)
                         throws LdapException
Handle the attributes of a search entry.

Overrides:
handleAttributes in class AbstractSearchEntryHandler
Parameters:
conn - the search was performed on
request - used to find the search entry
entry - search entry to extract the attributes from
Throws:
LdapException - if the LDAP returns an error

hashCode

public int hashCode()

Specified by:
hashCode in class AbstractSearchEntryHandler


Copyright © 2003-2017 Virginia Tech. All Rights Reserved.