Example #1
0
 def __init__(self, request):
     self.__request = request
     lpw = request._authUserPW()
     if lpw is None:
         login, password = None, None
     else:
         login, password = lpw
     LoginPassword.__init__(self, login, password)
Example #2
0
 def __init__(self, request):
     self.__request = request
     # TODO base64 decoding should be done here, not in request
     lpw = request._authUserPW()
     if lpw is None:
         login, password = None, None
     else:
         login, password = lpw
     LoginPassword.__init__(self, login, password)