- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for AuthenticationRateLimiter (0.33 seconds)
-
src/main/java/jcifs/util/AuthenticationRateLimiter.java
* - Exponential backoff for repeated failures * - Account lockout after threshold * - Automatic cleanup of old entries */ public class AuthenticationRateLimiter implements AutoCloseable { private static final Logger log = LoggerFactory.getLogger(AuthenticationRateLimiter.class); // Rate limiting configuration private final int maxAttemptsPerAccount; private final int maxAttemptsPerIp;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.1K bytes - Click Count (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
import jcifs.smb.SmbException; /** * Test cases for AuthenticationRateLimiter */ public class AuthenticationRateLimiterTest { private AuthenticationRateLimiter rateLimiter; @BeforeEach public void setUp() { // Create rate limiter with test-friendly settings rateLimiter = new AuthenticationRateLimiter(3, // max attempts per account 5, // max attempts per IPCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.8K bytes - Click Count (0)