Uses of Record Class
com.svenruppert.jsentinel.bruteforce.LoginAttemptKey
Packages that use LoginAttemptKey
-
Uses of LoginAttemptKey in com.svenruppert.jsentinel.bruteforce
Methods in com.svenruppert.jsentinel.bruteforce with parameters of type LoginAttemptKeyModifier and TypeMethodDescriptionintInMemoryLoginAttemptStore.failureCount(LoginAttemptKey key) intLoginAttemptStore.failureCount(LoginAttemptKey key) Returns the number of failures currently held againstkey.InMemoryLoginAttemptStore.lastFailureAt(LoginAttemptKey key) LoginAttemptStore.lastFailureAt(LoginAttemptKey key) Returns the timestamp of the most recent failure onkey, if any.voidInMemoryLoginAttemptStore.recordFailure(LoginAttemptKey key, Instant at) voidLoginAttemptStore.recordFailure(LoginAttemptKey key, Instant at) Increments the failure counter forkeyby one and updates its last-failure instant toat.voidInMemoryLoginAttemptStore.reset(LoginAttemptKey key) voidLoginAttemptStore.reset(LoginAttemptKey key) Clears any state associated withkey— used after a successful login to start the counter from zero again.