directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Karasulu <aok...@bellsouth.net>
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 <aok123@bellsouth.net 
> <mailto:aok123@bellsouth.net>>:
>
>     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?

Alex


Mime
View raw message