summaryrefslogtreecommitdiffstats
path: root/src/Common/UserManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Common/UserManager.h')
-rw-r--r--src/Common/UserManager.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/Common/UserManager.h b/src/Common/UserManager.h
index 5eece35..c70894a 100644
--- a/src/Common/UserManager.h
+++ b/src/Common/UserManager.h
@@ -23,6 +23,7 @@
#include "UserInfo.h"
#include "GroupInfo.h"
+#include <Core/Configurable.h>
#include <Core/Exception.h>
#include <map>
@@ -39,7 +40,7 @@ class UserConfigBackend;
class UserDBBackend;
class UserCache;
-class UserManager : private boost::noncopyable {
+class UserManager : public Core::Configurable, private boost::noncopyable {
private:
friend class Application;
@@ -54,9 +55,15 @@ class UserManager : private boost::noncopyable {
boost::shared_ptr<UserDBBackend> dbBackend;
+ unsigned long minUid, maxUid, minGid, maxGid;
+
boost::shared_mutex mutex;
- UserManager(Application *application0) : application(application0) {}
+ UserManager(Application *application0);
+ ~UserManager();
+
+ protected:
+ virtual bool handleConfigEntry(const Core::ConfigEntry &entry, bool /*handled*/);
public:
void registerBackend(boost::shared_ptr<UserDBBackend> backend);