org.ldaptive.ad.handler
Class RangeEntryHandler
java.lang.Object
org.ldaptive.handler.AbstractSearchEntryHandler
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
RangeEntryHandler
public RangeEntryHandler()
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 onrequest - used to find the search entryentry - 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.