- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 55 for CIFSContext (0.05 sec)
-
src/main/java/jcifs/context/AbstractCIFSContext.java
/** * {@inheritDoc} * * @see jcifs.CIFSContext#withDefaultCredentials() */ @Override public CIFSContext withDefaultCredentials() { return withCredentials(getDefaultCredentials()); } /** * {@inheritDoc} * * @see jcifs.CIFSContext#withGuestCrendentials() */ @Override public CIFSContext withGuestCrendentials() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 4K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthentication.java
/** The CIFS context for this authentication */ private CIFSContext context; /** * */ private NtlmPasswordAuthentication() { } /** * Construct anonymous credentials * * @param tc the CIFS context to use */ public NtlmPasswordAuthentication(final CIFSContext tc) { this(tc, "", "", ""); } /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
// Verify source exists CIFSContext verifyContext = createFreshContext(); SmbFile verifySource = new SmbFile(baseUrl + "shared/" + sourceFileName, verifyContext); assertTrue(verifySource.exists(), "Source file should exist"); // Perform rename using copy+delete as this is more reliable with Docker/Samba CIFSContext renameContext = createFreshContext();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmServletTest.java
transportContextField.set(ntlmServlet, cifsContext); } catch (Exception e) { throw new RuntimeException("Failed to inject mock CIFSContext", e); } when(cifsContext.getTransportPool()).thenReturn(transportPool); when(cifsContext.getNameServiceClient()).thenReturn(nameServiceClient); lenient().when(cifsContext.getConfig()).thenReturn(configuration);
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/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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12K bytes - Viewed (1) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 09:24:52 UTC 2025 - 6.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Sep 18 09:30:45 UTC 2025 - 22.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
@Override public SmbTransportImpl getSmbTransport(final CIFSContext tc, final Address address, final int port, final boolean nonPooled) { return getSmbTransport(tc, address, port, tc.getConfig().getLocalAddr(), tc.getConfig().getLocalPort(), null, nonPooled); } @Override public SmbTransportImpl getSmbTransport(final CIFSContext tc, final Address address, final int port, final boolean nonPooled,Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SimpleMemoryManagementTest.java
import org.junit.jupiter.api.Timeout; import org.mockito.Mockito; import jcifs.CIFSContext; import jcifs.Configuration; import jcifs.Credentials; /** * Simple memory management tests to validate basic resource cleanup functionality */ public class SimpleMemoryManagementTest { private CIFSContext mockContext; private SmbTransportImpl mockTransport; private Configuration mockConfig;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SIDCacheImpl.java
} } } /** * * {@inheritDoc} * * @see jcifs.SidResolver#getLocalGroupsMap(jcifs.CIFSContext, java.lang.String, int) */ @Override public Map<jcifs.SID, List<jcifs.SID>> getLocalGroupsMap(final CIFSContext tc, final String authorityServerName, final int flags) throws CIFSException { final SID domSid = getServerSid(tc, authorityServerName);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Mon Aug 25 14:34:10 UTC 2025 - 13.6K bytes - Viewed (0)