@ConfigurationProperties(prefix="broadleaf.auth.user-lockout") public class UserLockoutProperties extends Object
AuthorizationServer
Constructor and Description |
---|
UserLockoutProperties() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Integer |
getFailedLoginAttemptsAllowed()
How many failed login attempts are allowed before a user is locked out.
|
Long |
getLockoutDurationMinutes()
The time, in minutes, a user is locked out if they exceed the allowed number of failed login
attempts.
|
Long |
getLoginFailDecayMinutes()
How long, in minutes, it takes for failed login attempts to "decay".
|
int |
hashCode() |
boolean |
isLockedUserCanResetPassword()
If true, a locked user can trigger a password reset.
|
boolean |
isResetPasswordUnlocksUser()
If true, a password reset action will unlock a user on a successful password reset action.
|
void |
setFailedLoginAttemptsAllowed(Integer failedLoginAttemptsAllowed)
How many failed login attempts are allowed before a user is locked out.
|
void |
setLockedUserCanResetPassword(boolean lockedUserCanResetPassword)
If true, a locked user can trigger a password reset.
|
void |
setLockoutDurationMinutes(Long lockoutDurationMinutes)
The time, in minutes, a user is locked out if they exceed the allowed number of failed login
attempts.
|
void |
setLoginFailDecayMinutes(Long loginFailDecayMinutes)
How long, in minutes, it takes for failed login attempts to "decay".
|
void |
setResetPasswordUnlocksUser(boolean resetPasswordUnlocksUser)
If true, a password reset action will unlock a user on a successful password reset action.
|
String |
toString() |
public Integer getFailedLoginAttemptsAllowed()
public Long getLockoutDurationMinutes()
public Long getLoginFailDecayMinutes()
public boolean isResetPasswordUnlocksUser()
public boolean isLockedUserCanResetPassword()
public void setFailedLoginAttemptsAllowed(Integer failedLoginAttemptsAllowed)
public void setLockoutDurationMinutes(Long lockoutDurationMinutes)
public void setLoginFailDecayMinutes(Long loginFailDecayMinutes)
public void setResetPasswordUnlocksUser(boolean resetPasswordUnlocksUser)
public void setLockedUserCanResetPassword(boolean lockedUserCanResetPassword)
protected boolean canEqual(Object other)
Copyright © 2021. All rights reserved.