|
reSIProcate
SIP stack, Dialog Usage Manager and related libraries
|
#include <WsCookieAuthManager.hxx>
Public Types | |
| enum | Result { Authorized , Skipped , Rejected } |
Public Types inherited from resip::DumFeature | |
| enum | ProcessingResultMask { EventDoneBit = 1 << 0 , EventTakenBit = 1 << 1 , FeatureDoneBit = 1 << 2 , ChainDoneBit = 1 << 3 } |
| enum | ProcessingResult { EventTaken = EventTakenBit , FeatureDone = FeatureDoneBit , FeatureDoneAndEventDone = FeatureDoneBit | EventDoneBit , FeatureDoneAndEventTaken = FeatureDoneBit | EventTakenBit , ChainDoneAndEventDone = ChainDoneBit | EventDoneBit , ChainDoneAndEventTaken = ChainDoneBit | EventTakenBit } |
Public Member Functions | |
| WsCookieAuthManager (DialogUsageManager &dum, TargetCommand::Target &target) | |
| virtual | ~WsCookieAuthManager () |
| virtual ProcessingResult | process (Message *msg) |
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 Result | handle (SipMessage *sipMsg) |
| bool | cookieUriMatch (const resip::Uri &first, const resip::Uri &second) |
| compares URI user and host, allows wildcards in first URI | |
| bool | authorizedForThisIdentity (const MethodTypes method, const WsCookieContext &wsCookieContext, const resip::Uri &fromUri, const resip::Uri &toUri) |
| should return true if the passed in user is authorized for the provided uri | |
| virtual bool | requiresAuthorization (const 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 | |
Additional Inherited Members | |
Protected Attributes inherited from resip::DumFeature | |
| DialogUsageManager & | mDum |
| TargetCommand::Target & | mTarget |
Definition at line 16 of file WsCookieAuthManager.hxx.
| Enumerator | |
|---|---|
| Authorized | |
| Skipped | |
| Rejected | |
Definition at line 19 of file WsCookieAuthManager.hxx.
| WsCookieAuthManager::WsCookieAuthManager | ( | DialogUsageManager & | dum, |
| TargetCommand::Target & | target | ||
| ) |
Definition at line 17 of file WsCookieAuthManager.cxx.
|
virtual |
Definition at line 22 of file WsCookieAuthManager.cxx.
|
protected |
should return true if the passed in user is authorized for the provided uri
Definition at line 63 of file WsCookieAuthManager.cxx.
|
protected |
compares URI user and host, allows wildcards in first URI
Definition at line 54 of file WsCookieAuthManager.cxx.
|
protectedvirtual |
Definition at line 99 of file WsCookieAuthManager.cxx.
|
virtual |
dcm! – unnecessary happens in handle
Implements resip::DumFeature.
Definition at line 32 of file WsCookieAuthManager.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
Definition at line 157 of file WsCookieAuthManager.cxx.