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.cpp201 bool UserMgr::isUserExist(const std::string& userName) in isUserExist()
216 void UserMgr::throwForUserDoesNotExist(const std::string& userName) in throwForUserDoesNotExist()
225 void UserMgr::checkAndThrowForDisallowedGroupCreation( in checkAndThrowForDisallowedGroupCreation()
239 void UserMgr::throwForUserExists(const std::string& userName) in throwForUserExists()
248 void UserMgr::throwForUserNameConstraints( in throwForUserNameConstraints()
283 void UserMgr::throwForMaxGrpUserCount( in throwForMaxGrpUserCount()
311 void UserMgr::throwForInvalidPrivilege(const std::string& priv) in throwForInvalidPrivilege()
322 void UserMgr::throwForInvalidGroups(const std::vector<std::string>& groupNames) in throwForInvalidGroups()
336 std::vector<std::string> UserMgr::readAllGroupsOnSystem() in readAllGroupsOnSystem()
360 void UserMgr::createUser(std::string userName, in createUser()
[all …]
H A Duser_mgr.hpp204 class UserMgr : public Ifaces class
207 UserMgr() = delete;
208 ~UserMgr() = default;
209 UserMgr(const UserMgr&) = delete;
210 UserMgr& operator=(const UserMgr&) = delete;
211 UserMgr(UserMgr&&) = delete;
212 UserMgr& operator=(UserMgr&&) = delete;
219 UserMgr(sdbusplus::bus_t& bus, const char* path);
H A Dusers.hpp44 class UserMgr; // Forward declaration for UserMgr.
70 UserMgr& parent);
151 UserMgr& manager;
H A Dmainapp.cpp16 phosphor::user::UserMgr userMgr(bus, userManagerRoot); in main()
H A Dusers.cpp72 UserMgr& parent) : in Users()
/openbmc/phosphor-user-manager/test/
H A Duser_mgr_test.cpp254 class UserMgrInTest : public testing::Test, public UserMgr
257 UserMgrInTest() : UserMgr(busInTest, objectRootInTest) in UserMgrInTest()
611 UserMgr::executeUserAdd("user0", "ipmi,ssh", true, true), in TEST_F()
618 UserMgr::executeUserDelete("user0"), in TEST_F()
645 UserMgr::createUser(username, {"redfish", "ssh"}, "priv-user", true)); in TEST_F()
654 EXPECT_NO_THROW(UserMgr::deleteUser(username)); in TEST_F()
662 UserMgr::createUser(username, {"redfish", "ssh"}, "priv-user", true)); in TEST_F()
671 EXPECT_NO_THROW(UserMgr::deleteUser(username)); in TEST_F()
710 UserMgr::createUser(username, {"redfish", "ssh"}, "priv-user", true)); in TEST_F()
713 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()