Home
last modified time | relevance | path

Searched refs:maxLoginAttemptBeforeLockout (Results 1 – 4 of 4) sorted by relevance

/openbmc/phosphor-user-manager/test/
H A Duser_mgr_test.cpp1256 EXPECT_EQ(AccountPolicyIface::maxLoginAttemptBeforeLockout(), 2);
1257 UserMgr::maxLoginAttemptBeforeLockout(2);
1258 EXPECT_EQ(AccountPolicyIface::maxLoginAttemptBeforeLockout(), 2);
1264 EXPECT_EQ(AccountPolicyIface::maxLoginAttemptBeforeLockout(), 2);
1265 UserMgr::maxLoginAttemptBeforeLockout(16);
1266 EXPECT_EQ(AccountPolicyIface::maxLoginAttemptBeforeLockout(), 16);
1274 UserMgr::maxLoginAttemptBeforeLockout(16),
1276 EXPECT_EQ(AccountPolicyIface::maxLoginAttemptBeforeLockout(), 2);
/openbmc/phosphor-user-manager/
H A Duser_mgr.cpp679 uint16_t UserMgr::maxLoginAttemptBeforeLockout(uint16_t value) in getPamModuleConfValue()
681 if (value == AccountPolicyIface::maxLoginAttemptBeforeLockout()) in getPamModuleConfValue()
688 lg2::error("Unable to set maxLoginAttemptBeforeLockout to {VALUE}", in getPamModuleConfValue()
692 return AccountPolicyIface::maxLoginAttemptBeforeLockout(value); in getPamModuleConfValue()
891 if (failAttempts < AccountPolicyIface::maxLoginAttemptBeforeLockout()) in userLockedForFailedAttempt()
910 if (AccountPolicyIface::maxLoginAttemptBeforeLockout() == 0) in userPasswordExpired()
1441 AccountPolicyIface::maxLoginAttemptBeforeLockout(0); in initUserObjects()
1461 AccountPolicyIface::maxLoginAttemptBeforeLockout(value16); in initUserObjects()
628 uint16_t UserMgr::maxLoginAttemptBeforeLockout(uint16_t value) maxLoginAttemptBeforeLockout() function in phosphor::user::UserMgr
H A Duser_mgr.hpp314 uint16_t maxLoginAttemptBeforeLockout(uint16_t val) override;
/openbmc/bmcweb/redfish-core/lib/
H A Daccount_service.hpp1460 const uint16_t* maxLoginAttemptBeforeLockout = nullptr; in handleAccountServiceGet() local
1466 maxLoginAttemptBeforeLockout); in handleAccountServiceGet()
1486 if (maxLoginAttemptBeforeLockout != nullptr) in handleAccountServiceGet()
1489 *maxLoginAttemptBeforeLockout; in handleAccountServiceGet()