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 boolean
boolean
The time that this password change attempt occurred.TheAuthorizationServer
id that this password change attempt was made from.getId()
The database id.The change password attempt result.Theuser id
of the attempted password change.The username used in the password change attempt.int
hashCode()
boolean
Should this password change attempt be considered when determining if the user is to be locked out?void
setAttemptTime
(Instant attemptTime) The time that this password change attempt occurred.void
setAuthServerId
(String authServerId) TheAuthorizationServer
id that this password change attempt was made from.void
setConsidered
(boolean considered) Should this password change attempt be considered when determining if the user is to be locked out?void
The database id.void
The change password attempt result.void
Theuser id
of the attempted password change.void
setUsername
(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 id
of the attempted password change.This should be non-null since a user can only change a password once they are logged in.
-
getAuthServerId
TheAuthorizationServer
id 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 id
of the attempted password change.This should be non-null since a user can only change a password once they are logged in.
-
setAuthServerId
TheAuthorizationServer
id 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
-