public class RangedAttributeInterceptor
extends org.apache.directory.server.core.api.interceptor.BaseInterceptor
Ranged interceptor to emulate the behavior of AD. AD has a limit in the number of attributes that return (15000 by default in MaxValRange). See this MS link for AD limits:
https://support.microsoft.com/en-us/help/315071/how-to-view-and-set-ldap-policy-in-active-directory-by-using-ntdsutilAnd this other link to know how range attribute search works:
https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ldap/searching-using-range-retrieval| Constructor and Description |
|---|
RangedAttributeInterceptor(String name,
int max) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.directory.server.core.api.filtering.EntryFilteringCursor |
search(org.apache.directory.server.core.api.interceptor.context.SearchOperationContext sc) |
add, bind, compare, delete, destroy, getName, getNextInterceptor, getPrincipal, getRootDse, hasEntry, init, lookup, modify, move, moveAndRename, next, next, next, next, next, next, next, next, next, next, next, next, next, rename, unbindpublic RangedAttributeInterceptor(String name, int max)
public org.apache.directory.server.core.api.filtering.EntryFilteringCursor search(org.apache.directory.server.core.api.interceptor.context.SearchOperationContext sc)
throws org.apache.directory.api.ldap.model.exception.LdapException
search in interface org.apache.directory.server.core.api.interceptor.Interceptorsearch in class org.apache.directory.server.core.api.interceptor.BaseInterceptororg.apache.directory.api.ldap.model.exception.LdapExceptionCopyright © 2020 JBoss by Red Hat. All rights reserved.