Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 193 for CIFSContext (0.05 sec)

  1. src/main/java/jcifs/context/CIFSContextWrapper.java

    import jcifs.smb.SmbFile;
    import jcifs.smb.SmbNamedPipe;
    
    /**
     * A wrapper implementation of CIFSContext that delegates to another context.
     * This class allows for context decoration and customization through delegation.
     *
     * @author mbechler
     */
    public class CIFSContextWrapper implements CIFSContext {
    
        private final CIFSContext delegate;
        private Handler wrappedHandler;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/CIFSContextTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    
    /**
     * Test class for CIFSContext interface functionality
     */
    @DisplayName("CIFSContext Tests")
    class CIFSContextTest extends BaseTest {
    
        @Mock
        private CIFSContext mockContext;
    
        @Test
        @DisplayName("Should define interface methods")
        void testCIFSContextInterface() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

    import org.mockito.MockitoAnnotations;
    
    import jcifs.CIFSContext;
    import jcifs.DialectVersion;
    import jcifs.util.transport.Response;
    
    /**
     * Test class for SmbNegotiationResponse interface
     */
    class SmbNegotiationResponseTest {
    
        @Mock
        private SmbNegotiationResponse negotiationResponse;
    
        @Mock
        private CIFSContext cifsContext;
    
        @Mock
        private SmbNegotiationRequest negotiationRequest;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/SmbNegotiationResponse.java

        /**
         * Check if the negotiation response is valid
         *
         * @param cifsContext the CIFS context
         * @param request the negotiation request
         * @return whether the protocol negotiation was successful
         */
        boolean isValid(CIFSContext cifsContext, SmbNegotiationRequest request);
    
        /**
         * Gets the SMB dialect version selected by the server.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ntlmssp/Type2Message.java

     */
    
    package jcifs.ntlmssp;
    
    import java.io.IOException;
    import java.util.HashMap;
    import java.util.Map;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSContext;
    
    /**
     * Represents an NTLMSSP Type-2 message.
     */
    public class Type2Message extends NtlmMessage {
    
        private static final Logger log = LoggerFactory.getLogger(Type2Message.class);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/DfsImplTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.Credentials;
    import jcifs.SmbTransportPool;
    import jcifs.internal.dfs.DfsReferralDataInternal;
    
    class DfsImplTest {
    
        private DfsImpl dfsImpl;
        private CIFSContext mockContext;
        private Configuration mockConfig;
        private Credentials mockCredentials;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/context/BaseContext.java

            return this.transportPool;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.CIFSContext#getConfig()
         */
        @Override
        public Configuration getConfig() {
            return this.config;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.CIFSContext#getDfs()
         */
        @Override
        public DfsResolver getDfs() {
            return this.dfs;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

        private static SmbResourceLocatorImpl newLocator(CIFSContext ctx) {
            return new SmbResourceLocatorImpl(ctx, smbUrl("smb://server/share"));
        }
    
        @Test
        @DisplayName("Constructor with CIFSContext: creates instance")
        void constructor_withContext_createsInstance() {
            // Arrange
            CIFSContext ctx = mock(CIFSContext.class);
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/context/AbstractCIFSContextTest.java

    import java.net.URLStreamHandler;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    import jcifs.BufferCache;
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.Configuration;
    import jcifs.Credentials;
    import jcifs.DfsResolver;
    import jcifs.NameServiceClient;
    import jcifs.SidResolver;
    import jcifs.SmbPipeResource;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  10. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
Back to top