Home
last modified time | relevance | path

Searched refs:AccountPolicyIface (Results 1 – 3 of 3) sorted by relevance

/openbmc/phosphor-user-manager/test/
H A Duser_mgr_test.cpp823 EXPECT_EQ(AccountPolicyIface::minPasswordLength(), 8); in TEST_F()
825 EXPECT_EQ(AccountPolicyIface::minPasswordLength(), 8); in TEST_F()
832 EXPECT_EQ(AccountPolicyIface::minPasswordLength(), 8); in TEST_F()
836 EXPECT_EQ(AccountPolicyIface::minPasswordLength(), 8); in TEST_F()
842 EXPECT_EQ(AccountPolicyIface::minPasswordLength(), 8); in TEST_F()
844 EXPECT_EQ(AccountPolicyIface::minPasswordLength(), 16); in TEST_F()
851 EXPECT_EQ(AccountPolicyIface::minPasswordLength(), 8); in TEST_F()
855 EXPECT_EQ(AccountPolicyIface::minPasswordLength(), 8); in TEST_F()
861 EXPECT_EQ(AccountPolicyIface::rememberOldPasswordTimes(), 0); in TEST_F()
863 EXPECT_EQ(AccountPolicyIface::rememberOldPasswordTimes(), 8); in TEST_F()
[all …]
/openbmc/phosphor-user-manager/
H A Duser_mgr.cpp569 if (value == AccountPolicyIface::minPasswordLength()) in minPasswordLength()
589 return AccountPolicyIface::minPasswordLength(value); in minPasswordLength()
594 if (value == AccountPolicyIface::rememberOldPasswordTimes()) in rememberOldPasswordTimes()
605 return AccountPolicyIface::rememberOldPasswordTimes(value); in rememberOldPasswordTimes()
610 if (value == AccountPolicyIface::maxLoginAttemptBeforeLockout()) in maxLoginAttemptBeforeLockout()
621 return AccountPolicyIface::maxLoginAttemptBeforeLockout(value); in maxLoginAttemptBeforeLockout()
626 if (value == AccountPolicyIface::accountUnlockTimeout()) in accountUnlockTimeout()
637 return AccountPolicyIface::accountUnlockTimeout(value); in accountUnlockTimeout()
820 if (failAttempts < AccountPolicyIface::maxLoginAttemptBeforeLockout()) in parseFaillockForLockout()
826 static_cast<time_t>(AccountPolicyIface::accountUnlockTimeout()) <= in parseFaillockForLockout()
[all …]
H A Duser_mgr.hpp53 using AccountPolicyIface = typedef
61 using Ifaces = sdbusplus::server::object_t<UserMgrIface, AccountPolicyIface,