- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 809 for smb2 (0.03 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java
import org.mockito.junit.jupiter.MockitoExtension; import jcifs.CIFSContext; import jcifs.Configuration; import jcifs.internal.smb2.ServerMessageBlock2; import jcifs.internal.smb2.ServerMessageBlock2Request; import jcifs.internal.smb2.Smb2Constants; import jcifs.internal.util.SMBUtil; /** * Test class for Smb2TreeDisconnectRequest functionality */ @DisplayName("Smb2TreeDisconnectRequest Tests")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFile.java
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; import jcifs.internal.smb2.info.Smb2QueryInfoResponse; import jcifs.internal.smb2.info.Smb2SetInfoRequest;
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/smb/SmbFileInputStream.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.6K 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/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
filePath += "/"; } filePath += fileInfo.getName(); // Ensure proper SMB URL format if (!filePath.startsWith("smb://")) { if (filePath.startsWith("/")) { filePath = "smb://localhost" + filePath; } else { filePath = "smb://localhost/" + filePath; } } try {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 12.3K bytes - Click Count (0) -
src/test/java/jcifs/util/StringsTest.java
@DisplayName("maskSecretValue should mask SMB URLs containing credentials") @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'",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/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/internal/smb2/ServerMessageBlock2Test.java
package jcifs.internal.smb2; 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 - 39.5K 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) -
src/test/java/jcifs/internal/SmbNegotiationResponseTest.java
@Test @DisplayName("Test getSelectedDialect returns SMB1") void testGetSelectedDialectSMB1() { // Arrange when(negotiationResponse.getSelectedDialect()).thenReturn(DialectVersion.SMB1); // Act DialectVersion dialect = negotiationResponse.getSelectedDialect(); // Assert assertEquals(DialectVersion.SMB1, dialect); verify(negotiationResponse).getSelectedDialect();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.6K bytes - Click Count (0)