Revision 23057d29 lib/http/auth.py
b/lib/http/auth.py | ||
---|---|---|
210 | 210 |
def VerifyBasicAuthPassword(self, req, username, password, expected): |
211 | 211 |
"""Checks the password for basic authentication. |
212 | 212 |
|
213 |
As long as they don't start with an opening brace ("{"), old passwords are
|
|
214 |
supported. A new scheme uses H(A1) from RFC2617, where H is MD5 and A1 |
|
213 |
As long as they don't start with an opening brace ("E{lb}"), old passwords
|
|
214 |
are supported. A new scheme uses H(A1) from RFC2617, where H is MD5 and A1
|
|
215 | 215 |
consists of the username, the authentication realm and the actual password. |
216 | 216 |
|
217 | 217 |
@type req: L{http.server._HttpServerRequest} |
Also available in: Unified diff