17#ifdef USE_RADIUS_CLIENT
22#define RESIPROCATE_SUBSYSTEM Subsystem::DUM
24RADIUSServerAuthManager::RADIUSServerAuthManager(
34 RADIUSDigestAuthenticator::init(
38RADIUSServerAuthManager::~RADIUSServerAuthManager()
43RADIUSServerAuthManager::requestCredential(
50 DebugLog(<<
"RADIUSServerAuthManager::requestCredential, uri = " << msg.
header(h_RequestLine).
uri() <<
" authUser = " << user);
97 ErrLog(<<
"RADIUSServerAuthManager::requestCredential, uri = " << msg.
header(h_RequestLine).
uri() <<
" failed to start thread, error = " <<
result);
102 WarningLog(<<
"RADIUSServerAuthManager::requestCredential, uri = " << msg.
header(h_RequestLine).
uri() <<
" exception");
108RADIUSServerAuthManager::useAuthInt()
const
142MyRADIUSDigestAuthListener::MyRADIUSDigestAuthListener(
150 transactionId(transactionId)
154MyRADIUSDigestAuthListener::~MyRADIUSDigestAuthListener()
161 DebugLog(<<
"MyRADIUSDigestAuthListener::onSuccess");
164 DebugLog(<<
"MyRADIUSDigestAuthListener::onSuccess rpid = " <<
rpid.c_str());
168 DebugLog(<<
"MyRADIUSDigestAuthListener::onSuccess, no rpid");
175MyRADIUSDigestAuthListener::onAccessDenied()
177 DebugLog(<<
"MyRADIUSDigestAuthListener::onAccessDenied");
183MyRADIUSDigestAuthListener::onError()
185 WarningLog(<<
"MyRADIUSDigestAuthListener::onError");
#define WarningLog(args_)
#define resip_assert(x)
This file needs to work for both C and C++ code.
Represents the "credentials" and "challenge" elements in the SIP grammar.
bool exists(const Param< Auth > ¶mType) const
const Data & param(const ExtensionParameter ¶m) const
Const accessor for non-natively-supported parameter types.
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
const char * c_str() const
Returns a null-terminated string representing.
MethodTypes getMethod() const
Represents a SIP message.
bool isRequest() const
Returns true if message is a request, false otherwise.
const RequestLine & header(const RequestLineType &l) const
Returns the RequestLine. This is only valid for request messages.
const Tuple & getSource() const
Returns the source tuple that the message was received from only makes sense for messages received fr...
The base-class for an RFC 3261 Transaction User.
Represents a network address.
dcm! – add UnusedChecking(_enum) below;
const Data & getMethodName(MethodTypes t)