Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for Attempt (4.4 sec)

  1. src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java

        }
    
        /**
         * Perform a single reconnection attempt
         * @param info the handle information
         * @param attempt the current attempt number (0-based)
         * @param originalCause the original exception that triggered reconnection
         * @return a future that completes with success or failure
         */
        private CompletableFuture<HandleInfo> attemptReconnect(HandleInfo info, int attempt, Exception originalCause) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 8.5K bytes
    - Viewed (1)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java

     * This client will attempt to execute requests multiple times before giving up, with configurable
     * retry counts and intervals between attempts.
     *
     * <p>The client supports a RequestListener interface to monitor the request lifecycle and handle
     * exceptions during retries.</p>
     *
     * <p>Key features:</p>
     * <ul>
     *   <li>Configurable maximum retry attempts</li>
     *   <li>Adjustable interval between retries</li>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/MultiChannelManagerBasicTest.java

            try {
                method.invoke(multiChannelManager, localhost, loopback);
                // If it doesn't throw, that's unexpected for localhost
                fail("Expected CIFSException for localhost multi-channel attempt");
            } catch (java.lang.reflect.InvocationTargetException e) {
                // We expect this to fail, but it should be a CIFSException, not a NullPointerException
                assertTrue(e.getCause() instanceof CIFSException);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/login/LoginAction.java

            });
        }
    
        /**
         * Handles user login with the provided credentials.
         *
         * @param form the login form containing username and password
         * @return the HTML response after login attempt
         */
        @Execute
        public HtmlResponse login(final LoginForm form) {
            validate(form, messages -> {}, () -> asIndexPage(form));
            verifyToken(() -> asIndexPage(form));
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/CIFSContext.java

         *
         * @param creds the credentials to use
         * @return a child context using using the given credentials
         */
        CIFSContext withCredentials(Credentials creds);
    
        /**
         * Attempt to renew credentials after authentication failure
         *
         * @param locationHint URL or location hint for credential renewal
         * @param error the error that triggered renewal
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/base/login/EntraIdCredential.java

                        logger.debug("Token expired: expiryTime={}, currentTime={}", tokenExpiryTime, currentTime);
                    }
                    return false;
                }
                // Attempt to refresh token using MSAL4J silent authentication
                try {
                    final EntraIdAuthenticator authenticator = ComponentUtil.getComponent(EntraIdAuthenticator.class);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java

                return false;
            }
        }
    
        /**
         * Advances to the next file entry in the enumeration.
         *
         * @param last whether this is the last attempt to advance
         * @return the next file entry, or null if no more entries
         * @throws CIFSException if an error occurs during enumeration
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/audit/SecurityAuditLoggerTest.java

            context.put("sessionId", "abc123def456");
            context.put("username", "******@****.***");
    
            logger.logEvent(EventType.AUTHENTICATION_SUCCESS, Severity.INFO, "Login attempt", context);
    
            // The test verifies that the logger runs without errors when masking is enabled
            Map<EventType, Long> stats = logger.getStatistics();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java

        void readBytesWireFormatTooShortException() {
            Configuration cfg = mock(Configuration.class);
            SmbComLockingAndX cmd = new SmbComLockingAndX(cfg);
            // arrays of size 1 so internal method will attempt to decode a range
            setField(cmd, "unlocks", new LockingAndXRange[] { new LockingAndXRange(false) });
            setField(cmd, "locks", new LockingAndXRange[] { new LockingAndXRange(false) });
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/failureurl/EditForm.java

         * This is a required field that tracks repeated failures for the same URL.
         */
        @Required
        @ValidateTypeFailure
        public String errorCount;
    
        /**
         * The timestamp of the last access attempt for this URL.
         * This is a required field indicating when the failure last occurred.
         */
        @Required
        public String lastAccessTime;
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top