directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Karasulu <>
Subject Re: [ApacheDS][ACDFEngine] Why are we passing NextInterceptor to engine?
Date Thu, 29 Sep 2005 02:58:09 GMT
Trustin Lee wrote:

> Alex,
> 2005/9/27, Alex Karasulu < 
> <>>:
>     I'm trying to understand why we need to pass the reference to the next
>     interceptor into the ACDF engine's check and hasPermission methods?
>     Reason I ask is because all we need to do is throw an LdapNoPermission
>     exception and we exit the stack.  Is there something I'm missing? 
> Please take a look at MaxImmSubFilter.  It is the only place actually 
> requires NextInterceptor.  ProtectedItem.MaxImmSub limits the maximum 
> number of immediate subordinates.

Sorry I still cannot understand why you need the interceptor.  Can you 
tell me what you do with the interceptor?


View raw message