Home
last modified time | relevance | path

Searched refs:UserMgr (Results 1 – 7 of 7) sorted by relevance

/openbmc/phosphor-user-manager/
H A Duser_mgr.cpp222 bool UserMgr::isUserExist(const std::string& userName) const in throwForUserDoesNotExist()
237 void UserMgr::throwForUserDoesNotExist(const std::string& userName) const in checkAndThrowForDisallowedGroupCreation()
246 void UserMgr::checkAndThrowForDisallowedGroupCreation( in throwForUserExists()
260 void UserMgr::throwForUserExists(const std::string& userName) in throwForUserNameConstraints()
269 void UserMgr::throwForUserNameConstraints( in throwForUserNameConstraints()
304 void UserMgr::throwForMaxGrpUserCount( in throwForMaxGrpUserCount()
332 void UserMgr::throwForInvalidPrivilege(const std::string& priv) in throwForInvalidGroups()
343 void UserMgr::throwForInvalidGroups(const std::vector<std::string>& groupNames) in readAllGroupsOnSystem()
357 std::vector<std::string> UserMgr::readAllGroupsOnSystem() in readAllGroupsOnSystem()
381 void UserMgr in createUser()
1520 UserMgr::UserMgr(sdbusplus::bus_t& bus, const char* path) : UserMgr() function in phosphor::user::UserMgr
[all...]
H A Duser_mgr.hpp213 /** @class UserMgr
216 class UserMgr : public Ifaces
219 UserMgr() = delete;
220 ~UserMgr() = default;
221 UserMgr(const UserMgr&) = delete;
222 UserMgr& operator=(const UserMgr&) = delete;
223 UserMgr(UserMgr
204 class UserMgr : public Ifaces global() class
[all...]
H A Dusers.hpp47 class UserMgr; // Forward declaration for UserMgr.
74 std::optional<uint64_t> passwordExpiration, UserMgr& parent);
174 UserMgr& manager;
H A Dmainapp.cpp16 phosphor::user::UserMgr userMgr(bus, userManagerRoot); in main()
H A Dusers.cpp73 std::optional<uint64_t> passwordExpiration, UserMgr& parent) : in Users()
/openbmc/phosphor-user-manager/test/
H A Duser_mgr_test.cpp210 const auto expirationTime = UserMgr::getUnexpiringPasswordTime(); in TEST()
378 EXPECT_EQ(user.passwordExpiration(UserMgr::getUnexpiringPasswordTime()),
379 UserMgr::getUnexpiringPasswordTime());
381 EXPECT_EQ(user.passwordExpiration(UserMgr::getDefaultPasswordExpiration()),
382 UserMgr::getDefaultPasswordExpiration());
394 UserMgr::getDefaultPasswordExpiration());
400 UserMgr::getUnexpiringPasswordTime()); in TEST_F()
433 UserMgr::getUnexpiringPasswordTime()); in TEST_F()
587 class UserMgrInTest : public testing::Test, public UserMgr in TEST_F()
590 UserMgrInTest() : UserMgr(busInTes in TEST_F()
[all...]
H A Dmock_user_mgr.hpp12 class MockManager : public UserMgr
15 MockManager(sdbusplus::bus_t& bus, const char* path) : UserMgr(bus, path) {} in MockManager()