Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for CIFSContext (0.34 sec)

  1. src/main/java/jcifs/CIFSContext.java

         *
         * @return a child context using the configured default credentials
         */
        CIFSContext withDefaultCredentials();
    
        /**
         * Create a child context with anonymous credentials
         *
         * @return a child context using anonymous credentials
         */
        CIFSContext withAnonymousCredentials();
    
        /**
         * Create a child context with guest credentials
         *
    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/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)
  3. src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java

    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    
    @ExtendWith(MockitoExtension.class)
    class Smb2LogoffRequestTest {
    
        @Mock
        Configuration configuration;
    
        @Mock
        CIFSContext cifsContext;
    
        // Helper to create a fresh request under test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. 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)
  5. src/test/java/jcifs/context/SingletonContextTest.java

            // Test getInstance returns the existing instance
            SingletonContext.init(null);
            CIFSContext firstInstance = SingletonContext.getInstance();
            CIFSContext secondInstance = SingletonContext.getInstance();
            assertSame(firstInstance, secondInstance);
        }
    
        @Test
        void testRegisterSmbURLHandlerWhenPkgsIsNull() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top