Show
Ignore:
Timestamp:
01/26/07 08:42:35 (2 years ago)
Author:
sylvain
Message:

Added user_name attribute. Updated copyright owner and dates

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • oss/httpauthfilter/httpauthfilter.py

    r172 r244  
    33__authors__ = ["Sylvain Hellegouarch (sh@defuze.org)"] 
    44__contributors__ = ['Tiago Cogumbreiro <cogumbreiro@users.sf.net>', 'Peter Russell'] 
    5 __date__ = "2006/12/16" 
     5__date__ = "2007/01/26" 
    66__copyright__ = """ 
    7 Copyright (c) 2005, Sylvain Hellegouarch 
    8 Copyright (c) 2005, Tiago Cogumbreiro <cogumbreiro@users.sf.net> 
     7Copyright (c) 2005, 2006, 2007, Sylvain Hellegouarch 
    98""" 
    109 
     
    3736 
    3837""" 
     3826/01/2007 - Added user_name attribute to request object (thanks Peter) 
    393916/12/2006 - Added Peter Russell patch to support pre-hashed passwords 
    4040             so that now you can store hashed values instead of clear text 
     
    164164                    # yeah the user is authorized 
    165165                    cherrypy.request.isAuthorized = True 
     166                    cherrypy.request.user_name = ah["username"] 
    166167                    if method not in ["POST", "PUT"]: 
    167168                        cherrypy.request.processRequestBody = False