version 1.23, 2003/11/11 03:10:19
|
version 1.24, 2003/12/17 21:03:34
|
|
|
| |
ClientAuthenticator::ClientAuthenticator() | ClientAuthenticator::ClientAuthenticator() |
{ | { |
clearRequest(true); |
clear(); |
} | } |
| |
ClientAuthenticator::~ClientAuthenticator() | ClientAuthenticator::~ClientAuthenticator() |
|
|
| |
} | } |
| |
void ClientAuthenticator::clearRequest(Boolean closeConnection) |
void ClientAuthenticator::clear() |
{ | { |
_requestMessage = 0; | _requestMessage = 0; |
|
|
if (closeConnection) |
|
{ |
|
_userName = String::EMPTY; | _userName = String::EMPTY; |
_password = String::EMPTY; | _password = String::EMPTY; |
_realm = String::EMPTY; | _realm = String::EMPTY; |
_challengeReceived = false; | _challengeReceived = false; |
_authType = ClientAuthenticator::NONE; | _authType = ClientAuthenticator::NONE; |
} | } |
} |
|
| |
Boolean ClientAuthenticator::checkResponseHeaderForChallenge( | Boolean ClientAuthenticator::checkResponseHeaderForChallenge( |
Array<HTTPHeader> headers) | Array<HTTPHeader> headers) |