summaryrefslogtreecommitdiff
path: root/Mailman/Utils.py
diff options
context:
space:
mode:
authorhmeland1999-06-13 08:10:10 +0000
committerhmeland1999-06-13 08:10:10 +0000
commitee4bf52e074bdaa647294e54afae49493eca6034 (patch)
tree00301b29943a1b4baaa79753f8e5de5302314c11 /Mailman/Utils.py
parentdb1ac2dcaec79558fe763f701ede08321aa72655 (diff)
downloadmailman-ee4bf52e074bdaa647294e54afae49493eca6034.tar.gz
mailman-ee4bf52e074bdaa647294e54afae49493eca6034.tar.zst
mailman-ee4bf52e074bdaa647294e54afae49493eca6034.zip
SecurityManager:
* New method WebAuthenticate(). Takes up to three keyword arguments: user-address, password and cookie-suffix. If password is supplied (and authenticates OK), issue a cookie -- otherwise try to do authentication based on cookies. * MakeCookie(): Changed to actually return a finished Cookie object. Takes one (non-optional) argument; the created cookie's name. Fixed bug in setting of cookie's path. * CheckCookie(): Now takes cookie's name as single argument, and can raise various MMAuthenticationErrors if that cookie doesn't authenticate OK. admin.py: Do explicit re-authentication when changing list admin password. admin.py, admindb.py and private.py: Removed isAuthenticated() function -- use MailList.WebAuthenticate() instead. This removed the need to import Cookie, so now we don't.
Diffstat (limited to 'Mailman/Utils.py')
0 files changed, 0 insertions, 0 deletions