- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 228 for SMB2 (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java
import org.mockito.junit.jupiter.MockitoSettings; import org.mockito.quality.Strictness; import jcifs.Configuration; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.smb2.ServerMessageBlock2; import jcifs.internal.smb2.ServerMessageBlock2Response; import jcifs.internal.util.SMBUtil; /** * Test class for Smb2SetInfoResponse functionality */ @DisplayName("Smb2SetInfoResponse Tests")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java
package jcifs.internal.smb2.nego; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.Configuration; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.util.SMBUtil; /** * SMB 3.1.1 Compression Capabilities negotiate context. * * This context is used during SMB2 negotiation to negotiate compression * algorithms for SMB3 data compression support. */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 7.5K bytes - Click Count (0) -
src/main/java/jcifs/config/BaseConfiguration.java
/** Whether to use SMB2/SMB3 leases for caching */ protected boolean useLease = true; /** Lease timeout in milliseconds */ protected int leaseTimeout = 30000; /** Maximum number of concurrent leases */ protected int maxLeases = 1000; /** Preferred lease version (1 or 2) */ protected int leaseVersion = 2; /** Lease break timeout in seconds (per MS-SMB2 spec) */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 36.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java
package jcifs.internal.smb2.session; import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.7K bytes - Click Count (0) -
src/main/java/jcifs/Configuration.java
* * @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) * * @return whether to use non-backward compatible protocol negotiationCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 25.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFile.java
import jcifs.internal.smb2.ServerMessageBlock2Request; import jcifs.internal.smb2.ServerMessageBlock2Response; import jcifs.internal.smb2.Smb2Constants; import jcifs.internal.smb2.create.Smb2CloseRequest; import jcifs.internal.smb2.create.Smb2CloseResponse; import jcifs.internal.smb2.create.Smb2CreateRequest; import jcifs.internal.smb2.create.Smb2CreateResponse; import jcifs.internal.smb2.info.Smb2QueryInfoRequest;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 103.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/util/SMBUtil.java
(byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00 }; /** * SMB2 protocol header template with magic number 0xFE 'SMB' */ public static final byte[] SMB2_HEADER = { (byte) 0xFE, (byte) 'S', (byte) 'M', (byte) 'B', // ProtocolId (byte) 64, (byte) 0x00, // StructureSize (LE)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
SmbSession result = transport.getSmbSession(ctx, host, domain); assertSame(session, result); verify(transport).getSmbSession(eq(ctx), eq(host), eq(domain)); } // SMB2 detection: true/false and exception path @Test @DisplayName("isSMB2 returns true/false and can throw") void isSMB2_variants() throws Exception { when(transport.isSMB2()).thenReturn(true, false);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.1K bytes - Click Count (0) -
src/test/java/jcifs/util/StringsTest.java
@CsvSource({ "'smb://user:password@server/share', 'smb://user:******@server/share'", "'smb://domain\\user:secret@host/path', 'smb://domain\\user:******@host/path'", "'smb2://admin:admin123@192.168.1.1/folder', 'smb2://admin:******@192.168.1.1/folder'", "'smbs://test:p@******@****.***/share', 'smbs://test:******@example.com/share'" })Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0) -
src/test/java/jcifs/util/InputValidatorTest.java
assertThrows(IllegalArgumentException.class, () -> InputValidator.validateBufferSize(1001, 1000, "test")); } @Test @DisplayName("Test SMB2 buffer size validation") void testSmb2BufferSize() { assertDoesNotThrow(() -> InputValidator.validateSmb2BufferSize(1000000L, "test"));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11.9K bytes - Click Count (0)