Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testManualUnblockIp (0.39 sec)

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

            // Should be allowed again
            assertTrue(rateLimiter.checkAttempt(username, ip), "Should be allowed after manual unlock");
        }
    
        @Test
        public void testManualUnblockIp() throws Exception {
            String ip = "192.168.1.7";
    
            // Block the IP
            for (int i = 1; i <= 5; i++) {
                assertTrue(rateLimiter.checkAttempt("user" + i, ip));
    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