Package com.svenruppert.jsentinel.bruteforce
package com.svenruppert.jsentinel.bruteforce
-
ClassDescriptionIn-memory
LoginAttemptPolicysuitable for single-node demos and small deployments.In-memoryLoginAttemptStorebacked by a singleConcurrentHashMap.Tunable thresholds forInMemoryLoginAttemptPolicyand any otherLoginAttemptPolicythat wants the same vocabulary.LoadsLoginAttemptConfigurationfrom system properties and environment variables, with a caller-supplied default.Adapter-neutral input to aLoginAttemptPolicydecision.The attempt may proceed.The caller is locked out.Composite key under whichLoginAttemptStoretracks failed-attempt counters and the last failure instant.Policy that throttles repeated failed login attempts.Persistent counter store for theLoginAttemptPolicyfamily.DefaultLoginAttemptPolicy— never throttles, never records.LoginAttemptPolicythat stores its failure counters in aLoginAttemptStore.