- Sort Score
- Result 10 results
- Languages All
Results 11 - 18 of 18 for getMaximumVersion (0.08 sec)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java
} @Test void testWithMockConfiguration() { when(mockConfig.getMinimumVersion()).thenReturn(jcifs.DialectVersion.SMB1); when(mockConfig.getMaximumVersion()).thenReturn(jcifs.DialectVersion.SMB311); trans2QueryPathInfo = new Trans2QueryPathInformation(mockConfig, TEST_FILENAME, TEST_INFO_LEVEL); assertNotNull(trans2QueryPathInfo);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java
when(mockConfig.getPid()).thenReturn(1234); when(mockConfig.getMaximumBufferSize()).thenReturn(65535); when(mockConfig.getMinimumVersion()).thenReturn(DialectVersion.SMB1); when(mockConfig.getMaximumVersion()).thenReturn(DialectVersion.SMB311); response = new TestSmbComNtTransactionResponse(mockConfig); } @Test @DisplayName("Test constructor with Configuration") void testConstructor() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
@Test @DisplayName("Test with mock configuration") void testWithMockConfiguration() { when(mockConfig.getMinimumVersion()).thenReturn(jcifs.DialectVersion.SMB1); when(mockConfig.getMaximumVersion()).thenReturn(jcifs.DialectVersion.SMB311); trans2QueryFSInfo = new Trans2QueryFSInformation(mockConfig, FileSystemInformation.SMB_INFO_ALLOCATION); assertNotNull(trans2QueryFSInfo); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
@Test @DisplayName("Test with mock configuration") void testWithMockConfiguration() { when(mockConfig.getMinimumVersion()).thenReturn(jcifs.DialectVersion.SMB1); when(mockConfig.getMaximumVersion()).thenReturn(jcifs.DialectVersion.SMB311); trans2SetFileInfo = new Trans2SetFileInformation(mockConfig, TEST_FID, mockFileInfo); assertNotNull(trans2SetFileInfo);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
when(mockConfig.isDfsDisabled()).thenReturn(false); when(mockConfig.isEncryptionEnabled()).thenReturn(true); when(mockConfig.getMinimumVersion()).thenReturn(DialectVersion.SMB202); when(mockConfig.getMaximumVersion()).thenReturn(DialectVersion.SMB311); when(mockConfig.getTransactionBufferSize()).thenReturn(65536); when(mockConfig.getReceiveBufferSize()).thenReturn(65536);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
src/main/java/jcifs/config/BaseConfiguration.java
return this.capabilities; } @Override public DialectVersion getMinimumVersion() { return this.minVersion; } @Override public DialectVersion getMaximumVersion() { return this.maxVersion; } @Override public boolean isUseSMB2OnlyNegotiation() { return this.smb2OnlyNegotiation; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 36.5K bytes - Viewed (0) -
src/main/java/jcifs/Configuration.java
* Property {@code jcifs.smb.client.maxVersion} (string, default SMB210) * * @see DialectVersion * @return maximum protocol version to use/allow * @since 2.1 */ DialectVersion getMaximumVersion(); /** * Use SMB2 non-backward compatible negotiation style * * Property {@code jcifs.smb.client.useSMB2Negotiation} (boolean, default false) *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 25.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
final int reqLen = negotiateWrite(smb2neg, first != null); final boolean doPreauth = getContext().getConfig().getMaximumVersion().atLeast(DialectVersion.SMB311); if (doPreauth) { negoReqBuffer = new byte[reqLen]; System.arraycopy(this.sbuf, 4, negoReqBuffer, 0, reqLen); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 69.8K bytes - Viewed (0)