11#define RESIPROCATE_SUBSYSTEM Subsystem::REPRO
22 bool challengeThirdParties,
23 const Data& staticRealm,
24 const std::vector<DigestType>& challengeDigestTypes):
25 ServerAuthManager(dum, dum.dumIncomingTarget(), challengeThirdParties, staticRealm, challengeDigestTypes),
27 mAuthRequestDispatcher(authRequestDispatcher),
29 mUseAuthInt(useAuthInt),
30 mRejectBadNonces(rejectBadNonces)
47 return mRejectBadNonces;
69 const Data& transactionId )
73 std::unique_ptr<ApplicationMessage> app(async);
74 mAuthRequestDispatcher->
post(app);
#define resip_assert(x)
This file needs to work for both C and C++ code.
bool isRequestTrusted(const resip::SipMessage &request)
virtual void requestCredential(const resip::Data &user, const resip::Data &realm, const resip::SipMessage &msg, const resip::Auth &auth, const resip::Data &transactionId)
virtual resip::AsyncBool requiresChallenge(const resip::SipMessage &msg)
should return true if the request must be challenged The default is to challenge all requests - overr...
virtual bool rejectBadNonces() const
ReproServerAuthManager(resip::DialogUsageManager &dum, resip::Dispatcher *authRequestDispatcher, AclStore &aclDb, bool useAuthInt, bool rejectBadNonces, bool challengeThirdParties, const resip::Data &staticRealm=resip::Data::Empty, const std::vector< resip::DigestType > &challengeDigestTypes=std::vector< resip::DigestType >())
virtual bool useAuthInt() const
~ReproServerAuthManager()
Represents the "credentials" and "challenge" elements in the SIP grammar.
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
A generic thread-bank class.
virtual bool post(std::unique_ptr< resip::ApplicationMessage > &work)
Posts a message to this thread bank.
virtual AsyncBool requiresChallenge(const SipMessage &msg)
should return true if the request must be challenged The default is to challenge all requests - overr...
Represents a SIP message.
bool isRequest() const
Returns true if message is a request, false otherwise.
This Class is used to implement a primitive form of RPC using loose XML formatting.
dcm! – add UnusedChecking(_enum) below;