Logo Search packages:      
Sourcecode: zope-passwordresettool version File versions  Download package

PasswordResetTool::PasswordResetTool::PasswordResetTool Class Reference

Inherits Products::CMFCore::utils::UniqueObject, and OFS::SimpleItem::SimpleItem.

List of all members.


Detailed Description

Provides a default implementation for a password reset scheme.

From a 'forgotten password' template, you submit your username to
a handler script that does a 'requestReset', and sends an email
with an unguessable unique hash in a url as built by 'constructURL'
to the user.

The user visits that URL (the 'reset form') and enters their username,

Definition at line 27 of file PasswordResetTool.py.


Public Member Functions

def __init__
def checkUser
def clearExpired
def expirationDate
def expired
def getExpirationTimeout
def getStats
def getValidUser
def manage_setTimeout
def manage_toggleUserCheck
def requestReset
 Interface fulfillment ##.
def resetPassword
def setExpirationTimeout
 Implementation ##.
def toggleUserCheck
def uniqueString
def verifyKey

Static Public Attributes

string id = 'portal_password_reset'
tuple manage_options
tuple manage_overview = DTMLFile('dtml/explainPWResetTool', globals() )
 ZMI methods.
string meta_type = 'Password Reset Tool'
tuple security = ClassSecurityInfo()

Private Attributes

 _p_changed
 _requests
 _timedelta
 _user_check

Static Private Attributes

tuple __implements__ = (IPWResetTool)
 other things needed for this to work skins:
  • handler script for forgotten password form (probably over-riding existing Plone one
  • email template
  • password reset form
  • password reset form handler script

int _timedelta = 24
int _user_check = 1
 Internal attributes.

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index