django: caching passwords for custom authentication

Posted by gruszczy on Stack Overflow See other posts from Stack Overflow or by gruszczy
Published on 2010-03-08T16:09:42Z Indexed on 2010/03/08 16:36 UTC
Read the original article Hit count: 436

Filed under:
|
|
|
|

I am authenticating users in ldap, but this happens only once, when user is logging in. Afterwards I need to keep username and password, because before every ldap operation I need to make bind on ldap server before every operation. What is the safe way to cache this password (I can't store in the database or cookies) for as long as session persists.

© Stack Overflow or respective owner

Related posts about django

Related posts about python