diff options
Diffstat (limited to 'src/Common/UserCache.h')
-rw-r--r-- | src/Common/UserCache.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Common/UserCache.h b/src/Common/UserCache.h index 1912caa..bec3328 100644 --- a/src/Common/UserCache.h +++ b/src/Common/UserCache.h @@ -70,11 +70,6 @@ class UserCache : public UserDBBackend, private boost::noncopyable { virtual boost::shared_ptr<const std::multimap<unsigned long, unsigned long> > getFullUserGroupList(boost::posix_time::ptime *timestamp) throw(Core::Exception); - virtual void setPassword(unsigned long uid, const std::string &password) throw(Core::Exception) { - backend->setPassword(uid, password); - } - - virtual void checkUserInfo(const UserInfo &userInfo) throw(Core::Exception) { backend->checkUserInfo(userInfo); } @@ -117,6 +112,11 @@ class UserCache : public UserDBBackend, private boost::noncopyable { backend->deleteUserFromGroup(uid, gid); } + + virtual void setPassword(unsigned long uid, const std::string &password) throw(Core::Exception) { + backend->setPassword(uid, password); + } + UserCache(Application *application0, boost::shared_ptr<UserDBBackend> backend0) : application(application0), backend(backend0), userTime(boost::posix_time::not_a_date_time), groupTime(boost::posix_time::not_a_date_time), userGroupTime(boost::posix_time::not_a_date_time) {} |