Uses of Record Class
com.svenruppert.jsentinel.bruteforce.LoginAttemptContext
Packages that use LoginAttemptContext
-
Uses of LoginAttemptContext in com.svenruppert.jsentinel.bruteforce
Methods in com.svenruppert.jsentinel.bruteforce that return LoginAttemptContextModifier and TypeMethodDescriptionstatic LoginAttemptContextFactory for the common case — the policy supplies the timestamp.Methods in com.svenruppert.jsentinel.bruteforce with parameters of type LoginAttemptContextModifier and TypeMethodDescriptionInMemoryLoginAttemptPolicy.beforeAttempt(LoginAttemptContext context) LoginAttemptPolicy.beforeAttempt(LoginAttemptContext context) Decides whether the attempt described bycontextmay proceed.NoopLoginAttemptPolicy.beforeAttempt(LoginAttemptContext context) StoreBackedLoginAttemptPolicy.beforeAttempt(LoginAttemptContext context) voidInMemoryLoginAttemptPolicy.recordFailure(LoginAttemptContext context) voidLoginAttemptPolicy.recordFailure(LoginAttemptContext context) Records a failed attempt.voidNoopLoginAttemptPolicy.recordFailure(LoginAttemptContext context) voidStoreBackedLoginAttemptPolicy.recordFailure(LoginAttemptContext context) voidInMemoryLoginAttemptPolicy.recordSuccess(LoginAttemptContext context) voidLoginAttemptPolicy.recordSuccess(LoginAttemptContext context) Records a successful attempt.voidNoopLoginAttemptPolicy.recordSuccess(LoginAttemptContext context) voidStoreBackedLoginAttemptPolicy.recordSuccess(LoginAttemptContext context)