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 boolean
boolean
The time that this password reset attempt occurred.TheAuthorizationServer
id that this password reset attempt was made from.getId()
The database id.The reset password attempt result.Theuser id
of the attempted password reset.The username used in the password reset attempt.int
hashCode()
boolean
Should this password reset attempt be considered when determining if the user is to be locked out?void
setAttemptTime
(Instant attemptTime) The time that this password reset attempt occurred.void
setAuthServerId
(String authServerId) TheAuthorizationServer
id that this password reset attempt was made from.void
setConsidered
(boolean considered) Should this password reset attempt be considered when determining if the user is to be locked out?void
The database id.void
The reset password attempt result.void
Theuser id
of the attempted password reset.void
setUsername
(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 id
of 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
TheAuthorizationServer
id 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 id
of 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
TheAuthorizationServer
id 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
-