11#define RESIPROCATE_SUBSYSTEM resip::Subsystem::REPRO
33 DebugLog(<<
"Grabbed user info for " << uinf->
user() <<
"@" << uinf->
realm() <<
" : " << uinf->
A1());
53 DebugLog(<<
"Looked up authorization for " << tpaInfo <<
" result = " << tpaInfo->
authorized());
61 DebugLog(<<
"Looked up authorization for " << tpaInfoMessage <<
" result = " << tpaInfoMessage->
authorized());
73 WarningLog(<<
"Did not recognize message type...");
#define WarningLog(args_)
virtual void setUserExists(bool exists)
virtual const resip::Data getUser()
virtual bool getUserExists()
virtual const resip::Data getDomain()
The Store contains differnt types of stores such as user, route, etc.
TlsPeerIdentityStore mTlsPeerIdentityStore
const std::set< resip::Data > & identities() const
const std::set< resip::Data > & peerNames() const
const bool authorized() const
bool isAuthorized(const std::set< resip::Data > &peerNames, const std::set< resip::Data > &identities) const
virtual ~UserAuthGrabber()
virtual bool process(resip::ApplicationMessage *msg)
UserAuthGrabber(repro::Store &dataStore)
virtual UserAuthGrabber * clone() const
const resip::Data & A1() const
AbstractDb::UserRecord mRec
const resip::Data & user() const
void setMode(const resip::UserAuthInfo::InfoMode m)
const resip::Data & realm() const
static Key buildKey(const resip::Data &user, const resip::Data &domain)
resip::Data getUserAuthInfo(const resip::Data &user, const resip::Data &realm) const
AbstractDb::UserRecord getUserInfo(const Key &key) const
A base-class for messages used by applications.
bool empty() const noexcept
Checks whether the Data is empty.
const bool authorized() const
const std::set< resip::Data > & identities() const
const std::set< resip::Data > & peerNames() const
void setMode(InfoMode mode, int32_t errorCode=0, const resip::Data &statusText=resip::Data::Empty)
const resip::Data & getUser() const
const resip::Data & getRealm() const
void setA1(const resip::Data &a1)
const resip::Data & getA1() const
This Class is used to implement a primitive form of RPC using loose XML formatting.
dcm! – add UnusedChecking(_enum) below;