[CPS-devel] Re: Custom Directory authentication

Olivier Grisel ogrisel at nuxeo.com
Thu Apr 20 16:22:09 CEST 2006


damien.metzler at ext.leroymerlin.fr a écrit :

>>> But it appears that the searchIUA method is never called with a 
>>> password as a parameter. Is it because the authentication 
>> never pass 
>>> by my directory or did I miss something ?
>> What is the searchIUA method?
>>
> 
> The searchIUA method is the same method as searchLDAP (only the name
> changes).
> 

Ok then it depends on how you implemented the getData method of your storage 
adapter. In LDAPBackingDirectory, it calls "_getEntryFromLDAP" which in turn 
systematically calls "searchLDAP".

Add a pdb break point in getData or even in getEntryAuthenticated to trace 
what's happening in you version:

   import pdb; pdb.set_trace()

-- 
Olivier



More information about the cps-devel mailing list
More information about CPS: CPS project - CVS - API

Hosting: Nuxeo: Zope service provider


This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.