- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 19 for BaseContext (0.09 seconds)
-
src/main/java/jcifs/context/BaseContext.java
/** * Base implementation of CIFS context providing core functionality for SMB operations. * This class serves as the foundation for context implementations in the jCIFS library. * * @author mbechler */ public class BaseContext extends AbstractCIFSContext { private final Configuration config; private final DfsResolver dfs; private final SidResolver sidResolver; private final Handler urlHandler;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.5K bytes - Click Count (0) -
src/test/java/jcifs/context/BaseContextTest.java
import jcifs.config.BaseConfiguration; /** * Comprehensive test suite for BaseContext class. * Tests CIFS context implementation and component integration. */ @DisplayName("BaseContext Tests") class BaseContextTest extends BaseTest { @Mock private Configuration mockConfig; private BaseContext context; @BeforeEach void setUp() throws CIFSException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 15.1K bytes - Click Count (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");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 09:24:52 GMT 2025 - 6.2K bytes - Click Count (0) -
src/main/java/jcifs/context/SingletonContext.java
import jcifs.CIFSContext; import jcifs.CIFSException; import jcifs.config.PropertyConfiguration; /** * Global singleton context * * @author mbechler * */ public class SingletonContext extends BaseContext implements CIFSContext { private static final Logger log = LoggerFactory.getLogger(SingletonContext.class); private static SingletonContext INSTANCE; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/SIDCacheImpl.java
private final Map<SID, SID> sidCache = new HashMap<>(); /** * Constructs a SID cache implementation. * * @param baseContext the CIFS context for this cache */ public SIDCacheImpl(final CIFSContext baseContext) { } void resolveSids(final DcerpcHandle handle, final LsaPolicyHandle policyHandle, final jcifs.SID[] sids) throws IOException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Mon Aug 25 14:34:10 GMT 2025 - 13.6K bytes - Click Count (0) -
src/main/java/jcifs/http/NtlmServlet.java
import jakarta.servlet.http.HttpSession; import jcifs.Address; import jcifs.CIFSContext; import jcifs.CIFSException; import jcifs.Config; import jcifs.config.PropertyConfiguration; import jcifs.context.BaseContext; import jcifs.netbios.UniAddress; import jcifs.smb.NtlmPasswordAuthentication; import jcifs.smb.SmbAuthException; /** * This servlet may be used with pre-2.3 servlet containers
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.1K bytes - Click Count (1) -
src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java
import org.junit.jupiter.api.Test; import org.mockito.Mock; import jcifs.CIFSContext; import jcifs.DialectVersion; import jcifs.SmbConstants; import jcifs.config.BaseConfiguration; import jcifs.context.BaseContext; import jcifs.internal.SmbNegotiationRequest; import jcifs.internal.util.SMBUtil; import jcifs.util.Hexdump; public class SmbComNegotiateResponseTest { @Mock private CIFSContext mockContext;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.4K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
import org.mockito.quality.Strictness; import jcifs.CIFSContext; import jcifs.NameServiceClient; import jcifs.RuntimeCIFSException; import jcifs.config.PropertyConfiguration; import jcifs.context.BaseContext; import jcifs.smb.NtlmPasswordAuthentication; /** * Tests for the NtlmHttpURLConnection class. * This class uses Mockito to simulate the behavior of HttpURLConnection and other dependencies. */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.6K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmHttpFilterTest.java
import jakarta.servlet.http.HttpServletRequest; 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")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 12.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java
import java.util.Properties; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import jcifs.CIFSContext; import jcifs.config.PropertyConfiguration; import jcifs.context.BaseContext; import jcifs.smb.SmbTransportInternal; /** * Integration tests for RDMA functionality. * * This class contains both unit tests (that always run) and integration tests
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 13.8K bytes - Click Count (0)