Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testNormalAuthentication (0.15 sec)

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

            );
        }
    
        @AfterEach
        public void tearDown() {
            if (rateLimiter != null) {
                rateLimiter.close();
            }
        }
    
        @Test
        public void testNormalAuthentication() throws Exception {
            // Normal authentication should be allowed
            assertTrue(rateLimiter.checkAttempt("user1", "192.168.1.1"), "First attempt should be allowed");
    
            // Record success
    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