Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testAccountLockout (0.94 seconds)

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

            // Should still be allowed
            assertTrue(rateLimiter.checkAttempt("user1", "192.168.1.1"), "After success should be allowed");
        }
    
        @Test
        public void testAccountLockout() throws Exception {
            String username = "testuser";
            String ip = "192.168.1.2";
    
            // First attempts should be allowed
            assertTrue(rateLimiter.checkAttempt(username, ip));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.8K bytes
    - Click Count (0)
Back to Top