public class UserLoginAttempt extends Object
Constructor and Description |
---|
UserLoginAttempt() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Instant |
getAttemptTime()
The time that this login attempt occurred.
|
String |
getAuthServerId()
The
AuthorizationServer id that this login
attempt was made from. |
String |
getId()
The database id.
|
String |
getLoginAttemptResult()
The login attempt result.
|
String |
getUserId()
The
user id of the attempted login. |
String |
getUsername()
The username used in the login attempt.
|
int |
hashCode() |
boolean |
isConsidered()
Should this login attempt be considered when determining if the user is to be locked out?
|
void |
setAttemptTime(Instant attemptTime)
The time that this login attempt occurred.
|
void |
setAuthServerId(String authServerId)
The
AuthorizationServer id that this login
attempt was made from. |
void |
setConsidered(boolean considered)
Should this login attempt be considered when determining if the user is to be locked out?
|
void |
setId(String id)
The database id.
|
void |
setLoginAttemptResult(String loginAttemptResult)
The login attempt result.
|
void |
setUserId(String userId)
The
user id of the attempted login. |
void |
setUsername(String username)
The username used in the login attempt.
|
String |
toString() |
public String getId()
@NonNull public String getUsername()
@Nullable public String getUserId()
user id
of the attempted login.
This is nullable, as an attempt could be made to login with a specific username, but no user exists for that username.
public String getAuthServerId()
AuthorizationServer
id that this login
attempt was made from.public String getLoginAttemptResult()
LoginAttemptResult
public boolean isConsidered()
public Instant getAttemptTime()
public void setId(String id)
public void setUsername(@NonNull String username)
public void setUserId(@Nullable String userId)
user id
of the attempted login.
This is nullable, as an attempt could be made to login with a specific username, but no user exists for that username.
public void setAuthServerId(String authServerId)
AuthorizationServer
id that this login
attempt was made from.public void setLoginAttemptResult(String loginAttemptResult)
LoginAttemptResult
public void setConsidered(boolean considered)
public void setAttemptTime(Instant attemptTime)
protected boolean canEqual(Object other)
Copyright © 2021. All rights reserved.