Home
last modified time | relevance | path

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

/openbmc/phosphor-user-manager/test/
H A Duser_mgr_test.cpp252 class UserMgrInTest : public testing::Test, public UserMgr
255 UserMgrInTest() : UserMgr(busInTest, objectRootInTest) in UserMgrInTest()
583 UserMgr::executeUserAdd("user0", "ipmi,ssh", true, true), in TEST_F()
590 UserMgr::executeUserDelete("user0"), in TEST_F()
617 UserMgr::createUser(username, {"redfish", "ssh"}, "priv-user", true)); in TEST_F()
626 EXPECT_NO_THROW(UserMgr::deleteUser(username)); in TEST_F()
634 UserMgr::createUser(username, {"redfish", "ssh"}, "priv-user", true)); in TEST_F()
643 EXPECT_NO_THROW(UserMgr::deleteUser(username)); in TEST_F()
682 UserMgr::createUser(username, {"redfish", "ssh"}, "priv-user", true)); in TEST_F()
685 EXPECT_NO_THROW(UserMgr::renameUser(username, newUsername)); 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()
/openbmc/phosphor-user-manager/
H A Duser_mgr.cpp182 bool UserMgr::isUserExist(const std::string& userName) in isUserExist()
197 void UserMgr::throwForUserDoesNotExist(const std::string& userName) in throwForUserDoesNotExist()
206 void UserMgr::checkAndThrowForDisallowedGroupCreation( in checkAndThrowForDisallowedGroupCreation()
220 void UserMgr::throwForUserExists(const std::string& userName) in throwForUserExists()
229 void UserMgr::throwForUserNameConstraints( in throwForUserNameConstraints()
264 void UserMgr::throwForMaxGrpUserCount( in throwForMaxGrpUserCount()
292 void UserMgr::throwForInvalidPrivilege(const std::string& priv) in throwForInvalidPrivilege()
303 void UserMgr::throwForInvalidGroups(const std::vector<std::string>& groupNames) in throwForInvalidGroups()
317 std::vector<std::string> UserMgr::readAllGroupsOnSystem() in readAllGroupsOnSystem()
341 void UserMgr::createUser(std::string userName, in createUser()
[all …]
H A Duser_mgr.hpp112 class UserMgr : public Ifaces class
115 UserMgr() = delete;
116 ~UserMgr() = default;
117 UserMgr(const UserMgr&) = delete;
118 UserMgr& operator=(const UserMgr&) = delete;
119 UserMgr(UserMgr&&) = delete;
120 UserMgr& operator=(UserMgr&&) = delete;
127 UserMgr(sdbusplus::bus_t& bus, const char* path);
H A Dusers.hpp34 class UserMgr; // Forward declaration for UserMgr.
60 UserMgr& parent);
126 UserMgr& manager;
H A Dmainapp.cpp16 phosphor::user::UserMgr userMgr(bus, userManagerRoot); in main()
H A Dusers.cpp63 UserMgr& parent) : in Users()