Class UserResetPasswordAttempt
java.lang.Object
com.broadleafcommerce.auth.user.domain.UserResetPasswordAttempt
- All Implemented Interfaces:
Serializable
Represents a reset password attempt by a user.
- Since:
- 2.1.3
- Author:
- Julia Lopez-Pozas (jpozas)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe time that this password reset attempt occurred.TheAuthorizationServerid that this password reset attempt was made from.getId()The database id.The reset password attempt result.Theuser idof the attempted password reset.The username used in the password reset attempt.inthashCode()booleanShould this password reset attempt be considered when determining if the user is to be locked out?voidsetAttemptTime(Instant attemptTime) The time that this password reset attempt occurred.voidsetAuthServerId(String authServerId) TheAuthorizationServerid that this password reset attempt was made from.voidsetConsidered(boolean considered) Should this password reset attempt be considered when determining if the user is to be locked out?voidThe database id.voidThe reset password attempt result.voidTheuser idof the attempted password reset.voidsetUsername(String username) The username used in the password reset attempt.toString()
-
Constructor Details
-
UserResetPasswordAttempt
public UserResetPasswordAttempt()
-
-
Method Details
-
getId
The database id. -
getUsername
The username used in the password reset attempt. Required. -
getUserId
Theuser idof the attempted password reset.This is nullable, as an attempt could be made to reset the password using a specific username, but no user exists for that username.
-
getAuthServerId
TheAuthorizationServerid that this password reset attempt was made from. -
getResult
The reset password attempt result. Either SUCCESS or FAILURE.- See Also:
-
isConsidered
public boolean isConsidered()Should this password reset attempt be considered when determining if the user is to be locked out? -
getAttemptTime
The time that this password reset attempt occurred. -
setId
The database id. -
setUsername
The username used in the password reset attempt. Required. -
setUserId
Theuser idof the attempted password reset.This is nullable, as an attempt could be made to reset the password using a specific username, but no user exists for that username.
-
setAuthServerId
TheAuthorizationServerid that this password reset attempt was made from. -
setResult
The reset password attempt result. Either SUCCESS or FAILURE.- See Also:
-
setConsidered
public void setConsidered(boolean considered) Should this password reset attempt be considered when determining if the user is to be locked out? -
setAttemptTime
The time that this password reset attempt occurred. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-