- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 30 for renew (0.02 seconds)
-
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) -
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) -
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) -
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) -
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 obtainedCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.9K bytes - Click Count (0) -
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) -
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 valueCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 9.9K bytes - Click Count (0) -
docs/en/docs/deployment/https.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 14K bytes - Click Count (0) -
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) -
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)