|
reSIProcate
SIP stack, Dialog Usage Manager and related libraries
|
This class is used to provide server digest authentication capabilities. More...
#include <UserAgentServerAuthManager.hxx>
Public Member Functions | |
| UserAgentServerAuthManager (UserAgent &userAgent) | |
| ~UserAgentServerAuthManager () | |
Public Member Functions inherited from resip::ServerAuthManager | |
| ServerAuthManager (DialogUsageManager &dum, TargetCommand::Target &target, bool challengeThirdParties=true, const resip::Data &staticRealm="", const std::vector< DigestType > &challengeDigestTypes=std::vector< DigestType >()) | |
| virtual | ~ServerAuthManager () |
| virtual ProcessingResult | process (Message *msg) |
| virtual SipMessage * | handleUserAuthInfo (UserAuthInfo *auth) |
| virtual Result | handle (SipMessage *sipMsg) |
Public Member Functions inherited from resip::DumFeature | |
| DumFeature (DialogUsageManager &dum, TargetCommand::Target &target) | |
| virtual | ~DumFeature () |
| virtual void | postCommand (std::unique_ptr< Message > message) |
Protected Member Functions | |
| virtual void | requestCredential (const resip::Data &user, const resip::Data &realm, const resip::SipMessage &msg, const resip::Auth &auth, const resip::Data &transactionId) |
| virtual bool | useAuthInt () const |
| virtual bool | proxyAuthenticationMode () const |
| virtual const resip::Data & | getChallengeRealm (const resip::SipMessage &msg) |
| returns the realm to be used for the challenge | |
| virtual bool | isMyRealm (const resip::Data &realm) |
| should return true if realm passed in is ours and we can challenge | |
| virtual bool | authorizedForThisIdentity (const resip::Data &user, const resip::Data &realm, resip::Uri &fromUri) |
| should return true if the passed in user is authorized for the provided uri | |
| virtual resip::AsyncBool | requiresChallenge (const resip::SipMessage &msg) |
| should return true if the request must be challenged The default is to challenge all requests - override this class to change this beviour | |
Protected Member Functions inherited from resip::ServerAuthManager | |
| virtual bool | rejectBadNonces () const |
| Result | issueChallengeIfRequired (SipMessage *sipMsg) |
| void | issueChallenge (SipMessage *sipMsg, bool stale=false) |
| virtual void | onAuthSuccess (const SipMessage &msg) |
| virtual void | onAuthFailure (AuthFailureReason reason, const SipMessage &msg) |
This class is used to provide server digest authentication capabilities.
It uses the profile settings in order to determine if a SIP request should be challenged or not, and challenges appropriately.
It is used to challenge auto-answer requests and OOD refer requests.
Author: Scott Godin (sgodin AT SipSpectrum DOT com)
Definition at line 28 of file UserAgentServerAuthManager.hxx.
| UserAgentServerAuthManager::UserAgentServerAuthManager | ( | UserAgent & | userAgent | ) |
Definition at line 18 of file UserAgentServerAuthManager.cxx.
| UserAgentServerAuthManager::~UserAgentServerAuthManager | ( | ) |
Definition at line 24 of file UserAgentServerAuthManager.cxx.
|
protectedvirtual |
should return true if the passed in user is authorized for the provided uri
Reimplemented from resip::ServerAuthManager.
Definition at line 54 of file UserAgentServerAuthManager.cxx.
|
protectedvirtual |
returns the realm to be used for the challenge
Reimplemented from resip::ServerAuthManager.
Definition at line 41 of file UserAgentServerAuthManager.cxx.
|
protectedvirtual |
should return true if realm passed in is ours and we can challenge
Reimplemented from resip::ServerAuthManager.
Definition at line 47 of file UserAgentServerAuthManager.cxx.
|
protectedvirtual |
Reimplemented from resip::ServerAuthManager.
Definition at line 35 of file UserAgentServerAuthManager.cxx.
|
protectedvirtual |
Implements resip::ServerAuthManager.
Definition at line 96 of file UserAgentServerAuthManager.cxx.
|
protectedvirtual |
should return true if the request must be challenged The default is to challenge all requests - override this class to change this beviour
Reimplemented from resip::ServerAuthManager.
Definition at line 62 of file UserAgentServerAuthManager.cxx.
|
protectedvirtual |
Reimplemented from resip::ServerAuthManager.
Definition at line 29 of file UserAgentServerAuthManager.cxx.