directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacques Oosthuizen <jacqu...@conor.co.za>
Subject Re: PARITION AGAIN
Date Sat, 28 Nov 2009 17:24:32 GMT
I still have tried to remove the interceptor like

      
directoryService.getInterceptorChain().remove("org.apache.directory.server.c
ore.authn.AuthenticationInterceptor");

I have also tried removing from actual list but if I print the list the
interceptor is still there.



On 2009/11/27 11:35 PM, "Ersin ER" <ersin.er@gmail.com> wrote:

> You need to call getInterceptorChain() if you really want to work on the
> chain. getInterceptors() just returns a clone of it. And removing the
> default Authn interceptor should really help, because it obviously prevents
> the bind call being forwarded in the chain. (I just checked the code.)
> 
> HTH,
> 
> On Fri, Nov 27, 2009 at 15:12, Jacques Oosthuizen <jacqueso@conor.co.za>wrote:
> 
>> Still not having luck , even if I remove the default authenticator
>> 
>>  List<Interceptor> interceptors = directoryService.getInterceptors();
>>        Iterator<Interceptor> iter = interceptors.iterator();
>>        while (iter.hasNext()) {
>>             Interceptor next = iter.next();
>> 
>>             if (next instanceof
>> org.apache.directory.server.core.authn.AuthenticationInterceptor)
>>             {
>> 
>>                 interceptors.remove(next);
>>                 break;
>>             }
>> 
>>        }
>> 
>> But my bind in my partition still does not get called . Any help will be
>> appreciated
>> 
>> Jacques Oosthuizen
>> Conor Information Technologies
>> Director
>> mobile :  0827699138
>> web : http://www.conor.co.za
>> mail : jacqueso@conor.co.za
>> 
>> 
>> 
>> 
>> 
>> 
> 

Jacques Oosthuizen
Conor Information Technologies
Director
mobile :  0827699138
web : http://www.conor.co.za
mail : jacqueso@conor.co.za







Mime
View raw message