public class PWResetAccountLockout extends Object
PWResetAccountLockout
defines a set for methods to lock and
unlock the user's account if their attempt to reset password were
unsuccessful after n of tries.Constructor and Description |
---|
PWResetAccountLockout(PWResetModelImpl model)
Constructs a password reset account lockout object.
|
Modifier and Type | Method and Description |
---|---|
int |
getWarnUserCount(String userDN)
Returnss the warning count for the user.
|
void |
invalidAnswer(AMIdentity amid)
Stores the attempt of the user's password reset failure in the map.
|
boolean |
isLockout(String userDN)
Returns true if the user is locked out from resetting password.
|
void |
removeUserLockoutEntry(String userDN)
Removes the user DN from the fail map entry.
|
public PWResetAccountLockout(PWResetModelImpl model)
model
- model use in this classpublic void invalidAnswer(AMIdentity amid)
AccountLockInfo
object. It will remove the user from
hash map if user is physically locked out.amid
- The subject.public int getWarnUserCount(String userDN)
userDN
- User distinguished name.public void removeUserLockoutEntry(String userDN)
userDN
- user DNpublic boolean isLockout(String userDN)
userDN
- user DNCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.