#include "usersimpl.h" #include #include #include namespace Gentoo { namespace Service { Users::Users(boost::shared_ptr> d) : IceTray::AbstractCachingDatabaseClient(d) { } Gentoo::UserPtr Users::authenticate(const std::string & username, const std::string & password, const Ice::Current &) { return fetchCache(sql::users::authenticate, 30, username, password); } Gentoo::UserPtr Users::verify(const std::string & username, const std::string & verifyguid, const Ice::Current &) { return fetch(sql::users::verify, username, verifyguid); } } }