Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for BaseContext (0.67 sec)

  1. 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 {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  2. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/CIFSContext.java

     * {@link #withDefaultCredentials()}, {@link #withAnonymousCredentials()}, {@link #withCredentials(Credentials)}
     * allow to create such sub-contexts.
     *
     *
     * Implementors of this interface should extend {@link jcifs.context.BaseContext} or
     * {@link jcifs.context.CIFSContextWrapper} to get forward compatibility.
     *
     * @author mbechler
     *
     */
    public interface CIFSContext {
    
        /**
         * Get a resource
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/http/NetworkExplorer.java

    import jcifs.CIFSException;
    import jcifs.Config;
    import jcifs.DfsReferralData;
    import jcifs.NameServiceClient;
    import jcifs.SmbConstants;
    import jcifs.config.PropertyConfiguration;
    import jcifs.context.BaseContext;
    import jcifs.netbios.NbtAddress;
    import jcifs.smb.DfsReferral;
    import jcifs.smb.NtStatus;
    import jcifs.smb.NtlmPasswordAuthentication;
    import jcifs.smb.SmbAuthException;
    import jcifs.smb.SmbException;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/Config.java

     * This class now contains only utilities for config parsing.
     *
     * We strongly suggest that you create an explicit {@link jcifs.context.CIFSContextWrapper}
     * with your desired config. It's base implementation {@link jcifs.context.BaseContext}
     * should be sufficient for most needs.
     *
     * If you want to retain the classic singleton behavior you can use
     * {@link jcifs.context.SingletonContext#getInstance()}
     * witch is initialized using system properties.
     *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  6. docs/smb3-features/01-smb3-lease-design.md

            assertFalse((state & Smb2LeaseState.SMB2_LEASE_HANDLE_CACHING) != 0);
        }
        
        @Test
        public void testLeaseManager() {
            CIFSContext context = new BaseContext(new PropertyConfiguration());
            LeaseManager manager = new LeaseManager(context);
            
            String path = "/share/file.txt";
            int requestedState = Smb2LeaseState.SMB2_LEASE_FULL;
            
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  7. docs/smb3-features/04-directory-leasing-design.md

        assertFalse(entry.hasChild("file1.txt"));
        assertEquals(0, entry.getChildren().size());
    }
    
    @Test
    public void testDirectoryLeaseManager() {
        CIFSContext context = new BaseContext(new PropertyConfiguration());
        LeaseManager baseManager = new LeaseManager(context);
        DirectoryLeaseManager dirManager = new DirectoryLeaseManager(context, baseManager);
        
        // Request directory lease
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/MultiChannelManager.java

         */
        private jcifs.CIFSContext createDefaultContext() throws CIFSException {
            try {
                // Use the configuration from the MultiChannelManager
                return new jcifs.context.BaseContext(this.config);
            } catch (Exception e) {
                throw new CIFSException("Failed to create CIFSContext for multi-channel transport", e);
            }
        }
    
        private void startHealthCheckTask() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  9. docs/smb3-features/02-persistent-handles-design.md

            
            Thread.sleep(100);
            assertFalse(persistent.isExpired());
        }
        
        @Test
        public void testHandleManagerPersistence() throws Exception {
            CIFSContext context = new BaseContext(new PropertyConfiguration());
            PersistentHandleManager manager = new PersistentHandleManager(context);
            
            // Create persistent handle
            HandleGuid guid = manager.requestDurableHandle(
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
Back to top