public static class LocalAuthServerResponse.AccountLockoutPolicy extends Object
Constructor and Description |
---|
AccountLockoutPolicy(int retryCount,
int retryDuration,
int lockoutDuration)
Instantiates a new account lockout policy.
|
Modifier and Type | Method and Description |
---|---|
int |
getLockoutDuration()
Gets lockoutDuration
|
int |
getRetryCount()
Gets retryCount
|
int |
getRetryDuration()
Gets retryDuration
|
public AccountLockoutPolicy(int retryCount, int retryDuration, int lockoutDuration)
retryCount
- the retry countretryDuration
- the retry durationlockoutDuration
- the lockout durationpublic int getRetryCount()
The number of times a remote user can try to access their account after entering an incorrect password
public int getRetryDuration()
The time period in minutes in which the remote user's account gets locked on unsuccessful login attempts
public int getLockoutDuration()
The time period for which the user account remains locked. After this time has elapsed, the account is automatically unlocked.
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.