- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testDifferentIpsIndependent (3.7 sec)
-
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
} // 6th attempt from same IP should be blocked assertFalse(rateLimiter.checkAttempt("user6", ip), "Should block after IP rate limit"); } @Test public void testDifferentIpsIndependent() throws Exception { // Different IPs should have independent limits for (int i = 1; i <= 3; i++) { assertTrue(rateLimiter.checkAttempt("user1", "192.168.1." + i));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.8K bytes - Viewed (0)