Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testLockoutExpiry (0.23 sec)

  1. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

            // 21st attempt should be blocked by global rate limit
            assertFalse(rateLimiter.checkAttempt("user21", "192.168.1.21"), "Should block after global rate limit");
        }
    
        @Test
        public void testLockoutExpiry() throws Exception {
            String username = "expireuser";
            String ip = "192.168.1.4";
    
            // Lock out the account
            for (int i = 0; i < 3; 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)
Back to top