-
Remember Password Reset Trace
last modified October 4, 2006 by rmarianski
a trace of the logical flow involved to reset a password
- portal_skins/plone_prefs/password_form pt called initially
- Change password action directs to ->
- This form then verifies that the old password was correct,
- If all is well, then it calls the membership tool's setPassword method
- this ends up triggering the setPassword method under
- Products.CMFPlone.MembershipTool, which the other membership tools inherit from
- This setPassword method eventually calls acl_users._doChangeUser
- The _doChangeUser turns out to be monkeypatched in PlonePAS (pas.py)
- The _doChangeUser there delegates to the PlonePAS userSetPassword function
- Now the doChangeUser method is called on all plugins
- Membrane implements this interface, in the plugins/usermanager.py file
- This is where the change was made to add another interface
from the password changing reponsibilities. Asking a member to add/del
himself and change his password are tasks that don't seem to go well
together.
- It now gets the IMembraneUserChanger implementations, and calls that to
- An additional interface was also provided, IUserChanger. This interface has
IUserChanger -> IMembraneUserChanger. This allows membrane
implementations to implement IUserChanger to support the ability to
set passwords.
These changes were made in r31384 in Membrane and r31385 in Remember.