Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for renewCredentials (0.59 sec)

  1. src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java

            // Perform the renewal
            boolean renewed = wrapper.renewCredentials("locationHint", null);
    
            // Verify that renew() was called and credentials were updated
            assertTrue(renewed, "renewCredentials should return true when renewable credentials are renewed");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/context/CIFSContextWrapperTest.java

        @Test
        void testRenewCredentials_True() {
            // Test renewCredentials(String locationHint, Throwable error) method when true
            String locationHint = "testLocation";
            Throwable error = new RuntimeException("testError");
            when(mockDelegate.renewCredentials(locationHint, error)).thenReturn(true);
            assertTrue(cifsContextWrapper.renewCredentials(locationHint, error));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTreeConnection.java

                    } catch (final Exception e) {
                        log.debug("Retry also failed", e);
                        throw sae;
                    }
                } else {
                    if (!this.ctx.renewCredentials(loc.getURL().toString(), sae)) {
                        throw sae;
                    }
                    log.debug("Trying to renew credentials after auth error");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
Back to top