Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testIpRateLimit (0.05 sec)

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

            } catch (SmbException e) {
                assertTrue(e.getMessage().contains("locked out"), "Should indicate account lockout");
            }
        }
    
        @Test
        public void testIpRateLimit() throws Exception {
            String ip = "192.168.1.3";
    
            // Make attempts from same IP with different users
            for (int i = 1; i <= 5; 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