Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 30 for renew (0.02 seconds)

  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");
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java

        }
    
        @Test
        @DisplayName("Should renew credentials when they are renewable and renew() returns new credentials")
        void testRenewCredentials_RenewableAndRenewed() {
            // Set up the wrapper with renewable credentials
            wrapper = new CIFSContextCredentialWrapper(mockDelegate, mockRenewableCredentials);
            when(mockRenewableCredentials.renew()).thenReturn(mockRenewedCredentialsInternal);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/SmbRenewableCredentials.java

     *
     * @author mbechler
     */
    public interface SmbRenewableCredentials extends CredentialsInternal {
    
        /**
         * Renew the credentials
         *
         * @return the renewed credentials
         */
        CredentialsInternal renew();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  4. 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}
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.3K bytes
    - Click Count (1)
  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
         * @return whether new credentials are obtained
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  6. 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);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            }
        }
    
        @Test
        @DisplayName("renew: invokes getSubject and returns self")
        void testRenewInvokesGetSubjectAndReturnsSelf() {
            JAASAuthenticator auth = spy(new JAASAuthenticator());
            // Avoid real JAAS by stubbing getSubject
            doReturn(new Subject()).when(auth).getSubject();
    
            // Act
            CredentialsInternal result = auth.renew();
    
            // Assert interaction and return value
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  8. docs/en/docs/deployment/https.md

    <img src="/img/deployment/https/https.drawio.svg">
    
    The **TLS certificates** are **associated with a domain name**, not with an IP address.
    
    So, to renew the certificates, the renewal program needs to **prove** to the authority (Let's Encrypt) that it indeed **"owns" and controls that domain**.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 14K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/SmbTreeConnection.java

                    }
                } else {
                    if (!this.ctx.renewCredentials(loc.getURL().toString(), sae)) {
                        throw sae;
                    }
                    log.debug("Trying to renew credentials after auth error");
                    try (SmbSessionInternal s = trans.getSmbSession(this.ctx, treesess.getTargetHost(), treesess.getTargetDomain())
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 30.4K bytes
    - Click Count (1)
  10. CHANGELOG/CHANGELOG-1.29.md

    on a node host or move it to a safe location. `kubadm certs renew` will renew the certificate in `super-admin.conf` to one year if the file exists; if it does not exist a "MISSING" note will be printed. `kubeadm upgrade apply` for this release will migrate this particular node to the two file setup. Subsequent kubeadm releases will continue to optionally renew the certificate in `super-admin.conf` if the file exists on disk and if renew on upgrade is not disabled. `kubeadm join --control-plane` will...
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Wed Mar 12 00:36:01 GMT 2025
    - 429.6K bytes
    - Click Count (1)
Back to Top