- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 180 for GetConfig (0.07 seconds)
-
src/test/java/jcifs/SmbSessionTest.java
when(mockSession.getConfig()).thenReturn(mockConfig); Configuration result1 = mockSession.getConfig(); Configuration result2 = mockSession.getConfig(); assertSame(result1, result2, "getConfig() should return consistent values"); verify(mockSession, times(2)).getConfig(); } } @Nested
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java
dstIndex += writeString(this.accountName, dst, dstIndex); dstIndex += writeString(this.primaryDomain, dst, dstIndex); } dstIndex += writeString(getConfig().getNativeOs(), dst, dstIndex); dstIndex += writeString(getConfig().getNativeLanman(), dst, dstIndex); return dstIndex - start; } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.9K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
} /** * @return the configuration used by this session */ @Override public Configuration getConfig() { return this.transportContext.getConfig(); } /** * @return the targetDomain */ public String getTargetDomain() { return this.targetDomain; } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 68.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java
// Arrange when(cifsContext.getConfig()).thenReturn(configuration); Smb2LogoffRequest req = newRequest(); // Act Smb2LogoffResponse resp = req.createResponse(cifsContext, null); // Assert assertNotNull(resp, "Response should be created even if req is null"); verify(cifsContext, times(1)).getConfig();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
final boolean forceSigning) { this.transportContext = tc; this.signingEnforced = forceSigning || this.getContext().getConfig().isSigningEnforced(); this.sessionExpiration = System.currentTimeMillis() + tc.getConfig().getSessionTimeout(); this.address = address; this.port = port; this.localAddr = localAddr; this.localPort = localPort;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 69.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java
*/ @Override public boolean allowChain(final CommonServerMessageBlockRequest next) { return getConfig().isAllowCompound(getClass().getSimpleName()) && getConfig().isAllowCompound(next.getClass().getSimpleName()); } /** * {@inheritDoc} * * @see jcifs.internal.CommonServerMessageBlockRequest#createCancel() */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Mon Aug 25 14:34:10 GMT 2025 - 7.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
@DisplayName("Constructor acquires tree connection; getConfig/isConnected delegate") void constructorAndSimpleDelegations() { // Ensures constructor acquires tree connection and simple delegate methods forward correctly // Verify constructor invoked acquire once verify(treeConnection, times(1)).acquire(); // getConfig delegates when(treeConnection.getConfig()).thenReturn(config);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java
// Check if we can use directory leasing DirectoryLeaseManager dirManager = getDirectoryLeaseManager(th); if (dirManager != null && smbFile.getContext().getConfig().isUseDirectoryLeasing()) { return listFilesWithDirectoryLeasing(smbFile, dirManager); } else { // Fall back to regular directory listing return smbFile.listFiles();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 7.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
verify(tc, never()).getConfig(); verifyNoInteractions(config); } @Test @DisplayName("createContext: Kerberos present but forceFallback triggers NTLM path") void createContext_forceFallback_triggersNtlmAndFailsOnNonNtlmToken() throws CIFSException { when(tc.getConfig()).thenReturn(config); when(config.isAllowNTLMFallback()).thenReturn(true);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
return false; } if (!selected.atLeast(getConfig().getMinimumVersion()) || !selected.atMost(getConfig().getMaximumVersion())) { log.debug("Server selected an disallowed dialect version {} (min: {} max: {})", selected, getConfig().getMinimumVersion(), getConfig().getMaximumVersion()); return false; } this.selectedDialect = selected;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24K bytes - Click Count (0)