- Sort Score
- Result 10 results
- Languages All
Results 661 - 670 of 1,009 for smbx (0.04 sec)
-
src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java
import org.mockito.Mock; import org.mockito.MockedStatic; import org.mockito.MockitoAnnotations; import jcifs.Credentials; import jcifs.smb.CredentialsInternal; import jcifs.smb.NtlmAuthenticator; import jcifs.smb.NtlmPasswordAuthenticator; import jcifs.smb.SmbAuthException; import jcifs.smb.SmbRenewableCredentials; class CIFSContextCredentialWrapperTest { @Mock private AbstractCIFSContext mockDelegate; @MockRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/CIFSContextTest.java
@DisplayName("Should define interface methods") void testCIFSContextInterface() { // Verify interface methods exist assertDoesNotThrow(() -> { mockContext.get("smb://server/share"); mockContext.getPipe("smb://server/share/pipe", 0); mockContext.close(); mockContext.getConfig(); mockContext.getNameServiceClient(); mockContext.getBufferCache();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java
package jcifs.internal.smb1.net; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.spy; import static org.mockito.Mockito.verify; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.nio.charset.StandardCharsets; import org.junit.jupiter.api.BeforeEach;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
import org.mockito.quality.Strictness; import jcifs.BaseTest; 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 Smb2TreeConnectRequest functionality */ @DisplayName("Smb2TreeConnectRequest Tests")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmServletTest.java
// Test with valid configuration - should initialize successfully Map<String, String> validParams = new HashMap<>(); validParams.put("jcifs.smb.client.domain", "TEST_DOMAIN"); validParams.put("jcifs.smb.client.soTimeout", "300000"); when(servletConfig.getInitParameterNames()).thenReturn(Collections.enumeration(validParams.keySet()));Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/BufferCacheImpl.java
/* jcifs smb client library in Java * Copyright (C) 2000 "Michael B. Allen" <jcifs at samba dot org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful,
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpFilterTest.java
import jakarta.servlet.http.HttpServletResponse; import jakarta.servlet.http.HttpSession; import jcifs.CIFSContext; import jcifs.config.PropertyConfiguration; import jcifs.context.BaseContext; import jcifs.smb.NtlmPasswordAuthentication; /** * Test class for NtlmHttpFilter * * NtlmHttpFilter is deprecated but we test it for backward compatibility */ @SuppressWarnings("deprecation") @ExtendWith(MockitoExtension.class)Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 12.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbUnsupportedOperationException.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb; /** * Exception thrown when an unsupported SMB operation is attempted. * Indicates that the requested operation is not supported by the SMB server or protocol version. * * @author mbechler * */ public class SmbUnsupportedOperationException extends SmbException { /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/DfsResolverTest.java
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.smb.DfsImpl; import jcifs.smb.SmbTransportInternal; @ExtendWith(MockitoExtension.class) class DfsResolverTest { private DfsResolver dfsResolver; @Mock private CIFSContext mockContext; @MockRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
// When int headerSize = transformHeader.size(); // Then assertEquals(52, headerSize); // SMB2 Transform Header is 52 bytes } // Note: SMB2 Transform Header doesn't have a protocol ID field // The protocol ID is part of the encrypted SMB2 message, not the transform header @Test @DisplayName("Should set and get signature") void testSignature() { // GivenRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0)