Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for renewed (0.04 sec)

  1. src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java

                assertTrue(renewed instanceof SmbRenewableCredentials, "renewed credentials should still be SmbRenewableCredentials");
            } else {
                assertNull(renewed, "renew() may return null for failed renewal");
            }
        }
    
        @Test
        @DisplayName("Mockito: verify renew() interaction and return value")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/context/CIFSContextCredentialWrapper.java

            final Credentials cred = getCredentials();
            if (cred instanceof final SmbRenewableCredentials renewable) {
                final CredentialsInternal renewed = renewable.renew();
                if (renewed != null) {
                    this.creds = renewed;
                    return true;
                }
            }
            final NtlmAuthenticator auth = NtlmAuthenticator.getDefault();
            if (auth != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbRenewableCredentials.java

     *
     * This interface defines methods for credentials that can be
     * automatically renewed during long-running operations.
     *
     * @author mbechler
     */
    public interface SmbRenewableCredentials extends CredentialsInternal {
    
        /**
         * Renew the credentials
         *
         * @return the renewed credentials
         */
        CredentialsInternal renew();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/CIFSContextTest.java

        }
    
        @Test
        @DisplayName("Should renew credentials")
        void testRenewCredentials() {
            // Given
            String hint = "hint";
            Throwable error = new Exception();
            when(mockContext.renewCredentials(hint, error)).thenReturn(true);
    
            // When
            boolean renewed = mockContext.renewCredentials(hint, error);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/CIFSContext.java

         */
        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
         * @return whether new credentials are obtained
         */
        boolean renewCredentials(String locationHint, Throwable error);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  6. .github/DISCUSSION_TEMPLATE/translations.yml

          label: Additional Information
          description: Any other relevant information about your translation proposal
      - type: markdown
        attributes:
          value: |
            Translations are automatized with AI and then reviewed by native speakers. 🤖 🙋
    
            This allows us to keep them consistent and up-to-date.
    
            If there are several native speakers commenting on this discussion and
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Jul 26 11:35:42 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchain.java

     * under the License.
     */
    package org.apache.maven.toolchain.java;
    
    import org.apache.maven.toolchain.Toolchain;
    
    /**
     * JDK toolchain interface.
     *
     * @since 2.0.9, renamed from JavaToolChain in 3.2.4
     * @deprecated Use {@link org.apache.maven.api.JavaToolchain} instead.
     */
    @Deprecated(since = "4.0.0")
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/FileNotifyInformation.java

        /**
         * File has been modified
         */
        int FILE_ACTION_MODIFIED = 0x00000003;
    
        /**
         * File has been renamed (old name)
         */
        int FILE_ACTION_RENAMED_OLD_NAME = 0x00000004;
    
        /**
         * File has been renamed (new name)
         */
        int FILE_ACTION_RENAMED_NEW_NAME = 0x00000005;
    
        /**
         * File stream has been added
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainImpl.java

    import org.apache.maven.toolchain.model.ToolchainModel;
    import org.apache.maven.utils.Os;
    import org.slf4j.Logger;
    
    /**
     * JDK toolchain implementation.
     *
     * @since 2.0.9, renamed from DefaultJavaToolChain in 3.2.4
     * @deprecated Use {@link org.apache.maven.api.services.ToolchainFactory} instead.
     */
    @Deprecated(since = "4.0.0")
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/body-updates.md

    Like `item.model_dump(exclude_unset=True)`.
    
    /// info
    
    In Pydantic v1 the method was called `.dict()`, it was deprecated (but still supported) in Pydantic v2, and renamed to `.model_dump()`.
    
    The examples here use `.dict()` for compatibility with Pydantic v1, but you should use `.model_dump()` instead if you can use Pydantic v2.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.7K bytes
    - Viewed (0)
Back to top