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-retrievalConstructor 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, unbind
public 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.Interceptor
search
in class org.apache.directory.server.core.api.interceptor.BaseInterceptor
org.apache.directory.api.ldap.model.exception.LdapException
Copyright © 2021 JBoss by Red Hat. All rights reserved.