Home
last modified time | relevance | path

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

/openbmc/phosphor-user-manager/
H A Duser_mgr.cpp256 bool UserMgr::isUserExist(const std::string& userName) const in isUserExist()
271 bool UserMgr::isUserExistSystem(const std::string& userName) in isUserExistSystem()
283 void UserMgr::throwForUserDoesNotExist(const std::string& userName) const in throwForUserDoesNotExist()
292 void UserMgr::checkAndThrowForDisallowedGroupCreation( in checkAndThrowForDisallowedGroupCreation()
306 void UserMgr::throwForUserExists(const std::string& userName) in throwForUserExists()
315 void UserMgr::throwForUserNameConstraints( in throwForUserNameConstraints()
350 void UserMgr::throwForMaxGrpUserCount( in throwForMaxGrpUserCount()
378 void UserMgr::throwForInvalidPrivilege(const std::string& priv) in throwForInvalidPrivilege()
389 void UserMgr::throwForInvalidGroups(const std::vector<std::string>& groupNames) in throwForInvalidGroups()
403 std::vector<std::string> UserMgr::readAllGroupsOnSystem() in readAllGroupsOnSystem()
[all …]
H A Duser_mgr.hpp216 class UserMgr : public Ifaces class
219 UserMgr() = delete;
220 ~UserMgr() = default;
221 UserMgr(const UserMgr&) = delete;
222 UserMgr& operator=(const UserMgr&) = delete;
223 UserMgr(UserMgr&&) = delete;
224 UserMgr& operator=(UserMgr&&) = delete;
231 UserMgr(sdbusplus::bus_t& bus, const char* path);
H A Dmainapp.cpp16 phosphor::user::UserMgr userMgr(bus, userManagerRoot); in main()
/openbmc/phosphor-user-manager/test/
H A Duser_mgr_test.cpp210 const auto expirationTime = UserMgr::getUnexpiringPasswordTime(); in testPasswordExpirationReset()
378 EXPECT_EQ(user.passwordExpiration(UserMgr::getUnexpiringPasswordTime()), in TEST_F()
379 UserMgr::getUnexpiringPasswordTime()); in TEST_F()
381 EXPECT_EQ(user.passwordExpiration(UserMgr::getDefaultPasswordExpiration()), in TEST_F()
382 UserMgr::getDefaultPasswordExpiration()); in TEST_F()
394 UserMgr::getDefaultPasswordExpiration()); in TEST_F()
400 UserMgr::getUnexpiringPasswordTime()); in TEST_F()
433 UserMgr::getUnexpiringPasswordTime()); in TEST_F()
587 class UserMgrInTest : public testing::Test, public UserMgr
590 UserMgrInTest() : UserMgr(busInTest, objectRootInTest) in UserMgrInTest()
[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()