Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for lockOut (0.57 sec)

  1. src/main/java/jcifs/util/AuthenticationRateLimiter.java

     *
     * Features:
     * - Per-account rate limiting
     * - Per-IP rate limiting
     * - Global rate limiting
     * - Exponential backoff for repeated failures
     * - Account lockout after threshold
     * - Automatic cleanup of old entries
     */
    public class AuthenticationRateLimiter implements AutoCloseable {
    
        private static final Logger log = LoggerFactory.getLogger(AuthenticationRateLimiter.class);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

            } catch (SmbException e) {
                // Expected
            }
    
            // Wait for lockout to expire
            Thread.sleep(2100); // Lockout is 2 seconds in test setup
    
            // Should be allowed again
            assertTrue(rateLimiter.checkAttempt(username, ip), "Should be allowed after lockout expiry");
        }
    
        @Test
        public void testSuccessResetsCounter() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

            getFirstAddress();
            for (;;) {
                try {
                    doConnect();
                    return;
                } catch (final SmbAuthException sae) {
                    throw sae; // Prevents account lockout on servers with multiple IPs
                } catch (final SmbException se) {
                    if (getNextAddress() == null) {
                        throw se;
                    }
                    if (LogStream.level >= 3) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            // Mock the stream directly
            SmbPipeOutputStream mockOut = mock(SmbPipeOutputStream.class);
    
            // Create spy and override getOutput
            SmbPipeHandleImpl spyHandle = spy(handle);
            doReturn(mockOut).when(spyHandle).getOutput();
    
            byte[] b = new byte[10];
            spyHandle.send(b, 2, 4);
            verify(mockOut).writeDirect(eq(b), eq(2), eq(4), eq(1));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  5. api/go1.14.txt

    pkg syscall (freebsd-arm64), const LOCK_NB ideal-int
    pkg syscall (freebsd-arm64), const LOCK_SH = 1
    pkg syscall (freebsd-arm64), const LOCK_SH ideal-int
    pkg syscall (freebsd-arm64), const LOCK_UN = 8
    pkg syscall (freebsd-arm64), const LOCK_UN ideal-int
    pkg syscall (freebsd-arm64), const MADV_AUTOSYNC = 7
    pkg syscall (freebsd-arm64), const MADV_AUTOSYNC ideal-int
    pkg syscall (freebsd-arm64), const MADV_CORE = 9
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 508.9K bytes
    - Viewed (0)
  6. api/go1.16.txt

    pkg syscall (darwin-arm64), const LOCK_NB ideal-int
    pkg syscall (darwin-arm64), const LOCK_SH = 1
    pkg syscall (darwin-arm64), const LOCK_SH ideal-int
    pkg syscall (darwin-arm64), const LOCK_UN = 8
    pkg syscall (darwin-arm64), const LOCK_UN ideal-int
    pkg syscall (darwin-arm64), const MADV_CAN_REUSE = 9
    pkg syscall (darwin-arm64), const MADV_CAN_REUSE ideal-int
    pkg syscall (darwin-arm64), const MADV_DONTNEED = 4
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Dec 02 16:30:41 UTC 2022
    - 479.2K bytes
    - Viewed (0)
  7. api/go1.20.txt

    pkg syscall (freebsd-riscv64), const LOCK_SH = 1 #53466
    pkg syscall (freebsd-riscv64), const LOCK_SH ideal-int #53466
    pkg syscall (freebsd-riscv64), const LOCK_UN = 8 #53466
    pkg syscall (freebsd-riscv64), const LOCK_UN ideal-int #53466
    pkg syscall (freebsd-riscv64), const MADV_AUTOSYNC = 7 #53466
    pkg syscall (freebsd-riscv64), const MADV_AUTOSYNC ideal-int #53466
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 17 21:23:32 UTC 2023
    - 602.6K bytes
    - Viewed (0)
Back to top