AbstractLoginFailureTracker

abstract class AbstractLoginFailureTracker(properties: Oauth2Properties?, clock: Clock = Clock.systemUTC()) : LoginFailureTracker

Shared login failure tracker configuration and state transition helpers.

Inheritors

Constructors

Link copied to clipboard
constructor(properties: Oauth2Properties?, clock: Clock = Clock.systemUTC())

Functions

Link copied to clipboard
abstract fun getRemainingLock(username: String?): Duration?

获取剩余锁定时长

Link copied to clipboard
open override fun isEnabled(): Boolean

判断是否启用状态

Link copied to clipboard
abstract fun onFailure(username: String?)

处理失败

Link copied to clipboard
abstract fun onSuccess(username: String?)

处理成功