- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 194 for CIFSContext (0.64 sec)
-
src/test/java/jcifs/smb/NtlmUtilTest.java
import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.CIFSContext; import jcifs.Configuration; import jcifs.util.Encdec; @ExtendWith(MockitoExtension.class) class NtlmUtilTest { @Mock CIFSContext cifsContext; @Mock Configuration configuration; // Helper: decode hex string to bytesRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12K bytes - Viewed (1) -
src/test/java/jcifs/context/CIFSContextWrapperTest.java
import jcifs.smb.SmbFile; import jcifs.smb.SmbNamedPipe; class CIFSContextWrapperTest { private CIFSContext mockDelegate; private Configuration mockConfiguration; private CIFSContextWrapper cifsContextWrapper; @BeforeEach void setUp() { mockDelegate = mock(CIFSContext.class); mockConfiguration = mock(Configuration.class);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
@Mock private CIFSContext cifsContext; @BeforeEach void setup() { // Tree handle lifecycle and config lenient().when(tree.acquire()).thenReturn(tree); lenient().when(tree.isConnected()).thenReturn(true); // CIFS context returns same config to build responses during initResponse lenient().when(cifsContext.getConfig()).thenReturn(config); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.7K bytes - Viewed (0) -
src/main/java/jcifs/SmbTransportPool.java
* @return a connected transport * @throws UnknownHostException if the host cannot be resolved * @throws IOException if an I/O error occurs */ SmbTransport getSmbTransport(CIFSContext tf, String name, int port, boolean exclusive, boolean forceSigning) throws UnknownHostException, IOException; /** * Get transport connection * * @param tcRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.5K bytes - Viewed (0) -
src/main/java/jcifs/context/CIFSContextCredentialWrapper.java
* License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.context; import jcifs.CIFSContext; import jcifs.Credentials; import jcifs.smb.CredentialsInternal; import jcifs.smb.NtlmAuthenticator; import jcifs.smb.NtlmPasswordAuthenticator; import jcifs.smb.SmbAuthException;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type3Message.java
import java.io.IOException; import java.security.GeneralSecurityException; import java.security.MessageDigest; import java.util.LinkedList; import java.util.List; import javax.crypto.Cipher; import jcifs.CIFSContext; import jcifs.CIFSException; import jcifs.SmbConstants; import jcifs.ntlmssp.av.AvFlags; import jcifs.ntlmssp.av.AvPair; import jcifs.ntlmssp.av.AvPairs; import jcifs.ntlmssp.av.AvSingleHost;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 32.7K bytes - Viewed (0) -
README.md
} ``` ### With Authentication ```java import jcifs.CIFSContext; import jcifs.context.BaseContext; import jcifs.smb.NtlmPasswordAuthenticator; // Create context with credentials CIFSContext context = new BaseContext(new jcifs.config.PropertyConfiguration()); NtlmPasswordAuthenticator auth = new NtlmPasswordAuthenticator("domain", "username", "password"); CIFSContext authContext = context.withCredentials(auth);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 09:24:52 UTC 2025 - 6.2K bytes - Viewed (0) -
src/main/java/jcifs/netbios/Lmhosts.java
* @return resolved name, null if not found */ public synchronized NbtAddress getByName(final String host, final CIFSContext tc) { return getByName(new Name(tc.getConfig(), host, 0x20, null), tc); } synchronized NbtAddress getByName(final Name name, final CIFSContext tc) { NbtAddress result = null; try { if (tc.getConfig().getLmHostsFileName() != null) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
class SmbSessionImplTest { @Mock private CIFSContext cifsContext; @Mock private Configuration configuration; @Mock private Credentials credentials; @Mock private CredentialsInternal credentialsInternal; @Mock private SmbTransportImpl transport; private SmbSessionImpl newSession() { return new SmbSessionImpl(cifsContext, "server.example", "EXAMPLE", transport); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/SmbTransportTest.java
@Mock private CIFSContext cifsContext; @Mock private Address remoteAddress; @BeforeEach void setUp() { // Common setup for mocks if needed } @Test void testGetContext() { // Arrange when(smbTransport.getContext()).thenReturn(cifsContext); // Act CIFSContext result = smbTransport.getContext();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0)