- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for locationHint (0.15 sec)
-
src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java
eq("locationHint"), eq((SmbAuthException) null))).thenReturn(mockNtlmPasswordAuthenticator); // Perform the renewal boolean renewed = wrapper.renewCredentials("locationHint", null); // Verify that NtlmAuthenticator was used and credentials were updated
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/context/CIFSContextWrapperTest.java
// 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)); verify(mockDelegate).renewCredentials(locationHint, error); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
src/main/java/jcifs/context/CIFSContextWrapper.java
return wrap(this.delegate.withGuestCrendentials()); } @Override public boolean renewCredentials(final String locationHint, final Throwable error) { return this.delegate.renewCredentials(locationHint, error); } @Override public NameServiceClient getNameServiceClient() { return this.delegate.getNameServiceClient(); } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.9K bytes - Viewed (0) -
src/main/java/jcifs/context/CIFSContextCredentialWrapper.java
} /** * {@inheritDoc} * * @see jcifs.CIFSContext#renewCredentials(java.lang.String, java.lang.Throwable) */ @Override public boolean renewCredentials(final String locationHint, final Throwable error) { final Credentials cred = getCredentials(); if (cred instanceof final SmbRenewableCredentials renewable) { final CredentialsInternal renewed = renewable.renew();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/CIFSContext.java
/** * 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) -
src/main/java/jcifs/context/AbstractCIFSContext.java
/** * {@inheritDoc} * * @see jcifs.CIFSContext#renewCredentials(java.lang.String, java.lang.Throwable) */ @Override public boolean renewCredentials(final String locationHint, final Throwable error) { return false; } /** * {@inheritDoc} * * * @see jcifs.CIFSContext#close() */ @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 4K bytes - Viewed (0)