1#if !defined(RESIP_WEBADMIN_HXX)
2#define RESIP_WEBADMIN_HXX
17class RegistrationPersistenceManager;
18class PublicationPersistenceManager;
127 bool mNoWebChallenges;
136 bool operator<(
const RemoveKey&
rhs)
const;
140 std::set<RemoveKey> mRemoveSet;
146 std::map<resip::Data,resip::Data> mUsers;
150 std::unique_ptr<RestAdmin> mRestAdmin;
The Store contains differnt types of stores such as user, route, etc.
ConfigException(const resip::Data &msg, const resip::Data &file, const int line)
const char * name() const noexcept override
virtual void handleStatisticsMessage(resip::StatisticsMessage &statsMessage)
virtual void onDnsCacheDumpRetrieved(std::pair< unsigned long, unsigned long > key, const resip::Data &dnsEntryStrings)
void parseUserFile()
Load web admin users from a file.
void setApiResponse(int pageNumber, int statusCode, const resip::Data &jsonBody)
virtual void buildPage(const resip::Data &method, const resip::Data &uri, int pageNumber, const resip::Data &user, const resip::Data &password)
The abstract base-class for all exceptions thrown by resip code.
BaseException(const Data &msg, const Data &file, int line)
An iostream that operates on an existing Data.
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
static const Data Empty
Constant that represents a zero-length data.
Abstract interface of a datastore of all publication documents processed by DUM.
Abstract interface of a datastore of all registered endpoints processed by DUM.
This Class is used to implement a primitive form of RPC using loose XML formatting.
std::map< resip::Data, resip::Data > Dictionary
dcm! – add UnusedChecking(_enum) below;
std::mutex Mutex
A semaphore that can be locked by only one thread at a time.
std::condition_variable Condition
A condition variable that can be signaled or waited on, wraps POSIX/Windows implementations depending...
IpVersion
An enumeration of IP versions.