Look up authenticated user name from backend

26 views
Skip to first unread message

Lester Cheung

unread,
Nov 19, 2010, 2:40:29 AM11/19/10
to PyWebDAV
Hi,

Thanks for putting up the code for this!

I'm writing a backend for pywebdav and is trying to find out the best
way to retrieved the following from my DAVBackendHandler:

* Whether request has been authenticated.

* Username of the authenticated user.


Given authentication is done with DAVRequestHandler and the server is
multi-threaded (with SocketServer.ThreadingMixIn), does it mean that I
am free to have global variables to keep track of the above in my
DAVRequestHandler?


Regards,
Lester
Reply all
Reply to author
Forward
0 new messages