Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for renew (0.02 sec)

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

            // Arrange: stub renew() to return a mocked CredentialsInternal
            when(renewable.renew()).thenReturn(returned);
    
            // Act: invoke renew()
            CredentialsInternal result = renewable.renew();
    
            // Assert: verify interaction and returned value
            verify(renewable, times(1)).renew();
            assertSame(returned, result, "renew() should return the stubbed 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/smb/SmbRenewableCredentials.java

     *
     * @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)
  3. src/main/java/jcifs/smb/JAASAuthenticator.java

                this.cachedSubject = null;
                return null;
            }
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.SmbRenewableCredentials#renew()
         */
        @Override
        public CredentialsInternal renew() {
            log.debug("Renewing credentials");
            this.cachedSubject = null;
            getSubject();
            return this;
        }
    
        /**
         * {@inheritDoc}
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  4. 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();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/CIFSContextTest.java

            // Then
            assertEquals(newContext, context);
            verify(mockContext).withCredentials(creds);
        }
    
        @Test
        @DisplayName("Should renew credentials")
        void testRenewCredentials() {
            // Given
            String hint = "hint";
            Throwable error = new Exception();
            when(mockContext.renewCredentials(hint, error)).thenReturn(true);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  6. 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
         * @return whether new credentials are obtained
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  7. .mailmap

    Piotr Jagielski <******@****.***> <Piotr Jagielski>
    Rene Groeschke <rene@gradle.com> <Rene@DevWin7.(none)>
    Rene Groeschke <rene@gradle.com> <******@****.***>
    Rene Groeschke <rene@gradle.com> <rene******@****.***>
    Rene Groeschke <rene@gradle.com> <rene******@****.***>
    Rene Groeschke <rene@gradle.com> <rene@breskeby.com>
    Rene Groeschke <rene@gradle.com> <******@****.***>
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Tue Oct 03 06:34:28 UTC 2017
    - 3.3K bytes
    - Viewed (0)
  8. README.md

    # The Go Programming Language
    
    Go is an open source programming language that makes it easy to build simple,
    reliable, and efficient software.
    
    ![Gopher image](https://golang.org/doc/gopher/fiveyears.jpg)
    *Gopher image by [Renee French][rf], licensed under [Creative Commons 4.0 Attribution license][cc4-by].*
    
    Our canonical Git repository is located at https://go.googlesource.com/go.
    There is a mirror of the repository at https://github.com/golang/go.
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Jul 22 17:45:27 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. docs/en/docs/js/termynal.js

            this.container.innerHTML = '';
            for (let line of this.lines) {
                line.style.visibility = 'visible'
            }
            this.start();
        }
    
        /**
         * Start the animation and rener the lines depending on their data attributes.
         */
        async start() {
            this.addFinish()
            await this._wait(this.startDelay);
    
            for (let line of this.lines) {
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:32:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top