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

Public Member Functions | Static Public Attributes | Private Attributes | Static Private Attributes

PasswordResetTool::PasswordResetTool::PasswordResetTool Class Reference

Inheritance diagram for PasswordResetTool::PasswordResetTool::PasswordResetTool:
Inheritance graph
Collaboration diagram for PasswordResetTool::PasswordResetTool::PasswordResetTool:
Collaboration graph

List of all members.

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


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.

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.

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

Generated by  Doxygen 1.6.0   Back to index