#include <OW_DigestAuthentication.hpp>
Inheritance diagram for OW_NAMESPACE::DigestAuthentication:
Public Member Functions | |
DigestAuthentication (const String &passwdFile) | |
~DigestAuthentication () | |
bool | authenticate (String &userName, const String &info, HTTPSvrConnection *htcon) |
String | getChallenge (const String &hostname) |
Private Member Functions | |
String | getHash (const String &sUserName, const String &sRealm) |
String | generateNewNonce (void) |
Private Attributes | |
Array< String > | m_asNonces |
Array< time_t > | m_aDateTimes |
Map< String, String > | m_passwdMap |
Definition at line 47 of file OW_DigestAuthentication.hpp.
|
Definition at line 56 of file OW_DigestAuthentication.cpp. References OW_NAMESPACE::String::empty(), and OW_THROW. |
|
Definition at line 51 of file OW_DigestAuthentication.hpp. |
|
Definition at line 170 of file OW_DigestAuthentication.cpp. References OW_NAMESPACE::HTTPSvrConnection::addHeader(), OW_NAMESPACE::String::empty(), getChallenge(), OW_NAMESPACE::HTTPSvrConnection::getHostName(), and OW_NAMESPACE::HTTPSvrConnection::setErrorDetails(). |
|
Definition at line 91 of file OW_DigestAuthentication.cpp. References OW_NAMESPACE::String::format(), OW_NAMESPACE::DateTime::get(), OW_NAMESPACE::CryptographicRandomNumber::getNextNumber(), i, and OW_NAMESPACE::DateTime::setToCurrent(). Referenced by getChallenge(). |
|
Definition at line 275 of file OW_DigestAuthentication.cpp. References generateNewNonce(). Referenced by authenticate(). |
|
Definition at line 83 of file OW_DigestAuthentication.cpp. References m_passwdMap. |
|
Definition at line 59 of file OW_DigestAuthentication.hpp. |
|
Definition at line 58 of file OW_DigestAuthentication.hpp. |
|
Definition at line 60 of file OW_DigestAuthentication.hpp. Referenced by getHash(). |