Plone doesn't store plain passwords in database. It stores it in a 
hashed form. That's why the only way for user that forgot his password 
is to reset it and pick a new one.

I think you'll need to write one more PAS plugin that will store 
passwords in a plain form without any encryption for later usage in your 
external service.

An I'm not sure if there are any existing addons providing such 
functionality.

Cheers,
Vitaliy Podoba


In article <20110225115639.gg26...@cab.unipd.it>,
 Andrea Brugiolo <n...@linux.it> wrote:

> I wrote a plugin to authenticate users against an external source and
> now it works -- thanks to those who helped :-)
> 
> Now I have to get a user's password to let Plone ask for some external
> resources on behalf of the user.
> 
> Starting from Plone 3, the __ac cookie doesn't store the user's
> password any more (only the username) and I don't currently do it with
> my authentication plugin either (my authentication source is a web
> service outside Plone).
> 
> So my question is: what would be the best way to have the user's
> password back from within Plone? Should I save it somewhere when the
> user authenticate?
> 
> Thank you for your attention .)
> 
> Andrea

_______________________________________________
Product-Developers mailing list
Product-Developers@lists.plone.org
https://lists.plone.org/mailman/listinfo/product-developers

Reply via email to