Re: validation of username and passwrod during login

"Nicolas Clain" <[email protected]>
Newsgroups gmane.comp.web.zope.cps.devel
Message-ID <[email protected]>
Hi,

you have to read the code of CPSUserFolder and CPSDirectory.
The methods you're looking for are "getEntryAuthenticated" and
"_checkPassword" in ZODBDirectory.

Have fun ;).

On 2/27/07, Miguel Sánchez Beato <miguel.sanchez-PttKq6FmaWE8QMA/Cy+x5VaTQe2KTcn/@public.gmane.org>
wrote:
>
> Hello, I'm working on a customized CPS 3.4.2 and I'm trying to store the
> user passwords using a md5 encryption. So, I've solved the problem of
> writing on the field 'password' (of the members shema) using a
> customized method that encrypt like this (portal_mytool is an example of
> a tool):
>
>     * In the 'password' field of 'members' schema:
>
>         Write expression: python: portal.portal_mytool.encryptMd5(value)
>
>
> Now, I have to change the way the password is validated when a user logs
> in the portal, but I cannot find the right point where this is done
> (I've been looking at CMFCore.CookieCrumbler class and 'logged_in.py'
> script, ...nothing)
>
> Anybody knows where can I find that login validation feature?
>
> Thanks!
> _______________________________________________
> cps-devel mailing list
> http://lists.nuxeo.com/mailman/listinfo/cps-devel
>



-- 
Nicolas Clain

_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.