Class UserChangePasswordAttempt
java.lang.Object
com.broadleafcommerce.auth.user.domain.UserChangePasswordAttempt
- All Implemented Interfaces:
Serializable
Represents a change 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 change attempt occurred.TheAuthorizationServerid that this password change attempt was made from.getId()The database id.The change password attempt result.Theuser idof the attempted password change.The username used in the password change attempt.inthashCode()booleanShould this password change attempt be considered when determining if the user is to be locked out?voidsetAttemptTime(Instant attemptTime) The time that this password change attempt occurred.voidsetAuthServerId(String authServerId) TheAuthorizationServerid that this password change attempt was made from.voidsetConsidered(boolean considered) Should this password change attempt be considered when determining if the user is to be locked out?voidThe database id.voidThe change password attempt result.voidTheuser idof the attempted password change.voidsetUsername(String username) The username used in the password change attempt.toString()
-
Constructor Details
-
UserChangePasswordAttempt
public UserChangePasswordAttempt()
-
-
Method Details
-
getId
The database id. -
getUsername
The username used in the password change attempt. Required. -
getUserId
Theuser idof the attempted password change.This should be non-null since a user can only change a password once they are logged in.
-
getAuthServerId
TheAuthorizationServerid that this password change attempt was made from. -
getResult
The change password attempt result. Either SUCCESS or FAILURE.- See Also:
-
isConsidered
public boolean isConsidered()Should this password change attempt be considered when determining if the user is to be locked out? -
getAttemptTime
The time that this password change attempt occurred. -
setId
The database id. -
setUsername
The username used in the password change attempt. Required. -
setUserId
Theuser idof the attempted password change.This should be non-null since a user can only change a password once they are logged in.
-
setAuthServerId
TheAuthorizationServerid that this password change attempt was made from. -
setResult
The change password attempt result. Either SUCCESS or FAILURE.- See Also:
-
setConsidered
public void setConsidered(boolean considered) Should this password change attempt be considered when determining if the user is to be locked out? -
setAttemptTime
The time that this password change attempt occurred. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-