public interface LoginAttemptOptions
| Modifier and Type | Method and Description |
|---|---|
long |
getAttemptTimeout() |
short |
getMaxAttempts() |
void |
setAttemptTimeout(long timeout) |
void |
setMaxAttempts(short maxAttempts) |
short getMaxAttempts()
void setMaxAttempts(short maxAttempts)
maxAttempts - The max attempts count, once equals or greater than it , the user will be locked.long getAttemptTimeout()
void setAttemptTimeout(long timeout)
timeout - milli seconds , the user login attempts failure count duration ,once equals or greater than it , it will be reset or clear.Copyright © 2018. All rights reserved.