Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 174 for GetConfig (0.06 sec)

  1. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

            assertEquals(-1L, trace.getTreeId());
        }
    
        @Test
        @DisplayName("getConfig(): delegates to context")
        void getConfig_delegatesToContext() {
            // Arrange
            CIFSContext ctx = mock(CIFSContext.class);
            Configuration cfg = mock(Configuration.class);
            when(ctx.getConfig()).thenReturn(cfg);
            SmbTreeConnectionTrace trace = new SmbTreeConnectionTrace(ctx);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NtlmContext.java

            } else {
                this.ntlmsspFlags |= NtlmFlags.NTLMSSP_NEGOTIATE_ANONYMOUS;
            }
            this.requireKeyExchange = doSigning;
            this.workstation = tc.getConfig().getNetbiosHostname();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.SSPContext#getSupportedMechs()
         */
        @Override
        public ASN1ObjectIdentifier[] getSupportedMechs() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ntlmssp/Type2Message.java

        private static final Map<String, byte[]> TARGET_INFO_CACHE = new HashMap<>();
    
        private static byte[] getDefaultTargetInfo(final CIFSContext tc) {
            final String domain = tc.getConfig().getDefaultDomain();
            byte[] ti = TARGET_INFO_CACHE.get(domain);
            if (ti != null) {
                return ti;
            }
    
            ti = makeTargetInfo(tc, domain);
            TARGET_INFO_CACHE.put(domain, ti);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFileInputStream.java

            if (th.hasCapability(SmbConstants.CAP_LARGE_READX)) {
                this.largeReadX = true;
                this.readSizeFile =
                        Math.min(th.getConfig().getReceiveBufferSize() - 70, th.areSignaturesActive() ? 0xFFFF - 70 : 0xFFFFFF - 70);
                log.debug("Enabling LARGE_READX with " + this.readSizeFile);
            } else {
                log.debug("LARGE_READX disabled");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComClose.java

            setResponse(resp);
            return resp;
        }
    
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) {
            SMBUtil.writeInt2(this.fid, dst, dstIndex);
            dstIndex += 2;
            if (this.digest != null) {
                SMB1SigningDigest.writeUTime(getConfig(), this.lastWriteTime, dst, dstIndex);
            } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java

                // Check if we can use directory leasing
                DirectoryLeaseManager dirManager = getDirectoryLeaseManager(th);
                if (dirManager != null && smbFile.getContext().getConfig().isUseDirectoryLeasing()) {
                    return listFilesWithDirectoryLeasing(smbFile, dirManager);
                } else {
                    // Fall back to regular directory listing
                    return smbFile.listFiles();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NetServerEnumIterator.java

            if (locator.getURL().getHost().isEmpty()) {
                this.request = new NetServerEnum2(th.getConfig(), th.getOEMDomainName(), NetServerEnum2.SV_TYPE_DOMAIN_ENUM);
            } else if (this.workgroup) {
                this.request = new NetServerEnum2(th.getConfig(), locator.getURL().getHost(), NetServerEnum2.SV_TYPE_ALL);
            } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

            return this.treeConnection.isConnected();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbTreeHandle#getConfig()
         */
        @Override
        public Configuration getConfig() {
            return this.treeConnection.getConfig();
        }
    
        /**
         * @return the currently connected tree id
         */
        public long getTreeId() {
            return this.treeConnection.getTreeId();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java

         */
        public RdmaTransport(SmbTransportInternal delegate, CIFSContext context) {
            this.delegate = delegate;
            this.rdmaProvider = RdmaProviderFactory.getProvider(context.getConfig());
            this.bufferManager = new RdmaBufferManager(rdmaProvider);
            this.statistics = new RdmaStatistics();
    
            log.debug("Created RDMA transport with provider: {}", rdmaProvider.getClass().getSimpleName());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/HandlerTest.java

        @Test
        @DisplayName("openConnection returns SmbFile using provided CIFSContext")
        void testOpenConnection_UsesProvidedContext() throws MalformedURLException, IOException {
            // Arrange
            when(mockCtx.getConfig()).thenReturn(mockCfg);
            when(mockCfg.isTraceResourceUsage()).thenReturn(false);
    
            Handler handler = newHandlerWith(mockCtx);
            URL url = new URL(null, "smb://example-host/share/", new Handler());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top