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" <[email protected]> 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 <[email protected]>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 : [email protected]
>>
>>
>>
>>
>>
>>
>
Jacques Oosthuizen
Conor Information Technologies
Director
mobile : 0827699138
web : http://www.conor.co.za
mail : [email protected]