Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 110 for setConfig (0.14 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/jcifs/smb/DfsImpl.java

                }
                final CacheEntry<Map<String, CacheEntry<DfsReferralDataInternal>>> entry = new CacheEntry<>(tf.getConfig().getDfsTtl() * 10L);
                this._domains = entry;
                if (tf.getConfig().isDfsStrictView() && ioe instanceof SmbAuthException) {
                    throw (SmbAuthException) ioe;
                }
                return this._domains.map;
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 29.7K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

            return getSmbTransport(tc, address, port, tc.getConfig().getLocalAddr(), tc.getConfig().getLocalPort(), null, nonPooled);
        }
    
        @Override
        public SmbTransportImpl getSmbTransport(final CIFSContext tc, final Address address, final int port, final boolean nonPooled,
                final boolean forceSigning) {
            return getSmbTransport(tc, address, port, tc.getConfig().getLocalAddr(), tc.getConfig().getLocalPort(), null, nonPooled,
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 33.4K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                } else {
                    // this is the original, COM_WRITE allows truncation but no 64 bit offsets
                    final SmbComWriteResponse rsp = new SmbComWriteResponse(th.getConfig());
                    th.send(new SmbComWrite(th.getConfig(), fh.getFid(), (int) (newLength & 0xFFFFFFFFL), 0, this.tmp, 0, 0), rsp,
                            RequestParam.NO_RETRY);
                }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SmbFile.java

                    } else {
                        th.send(new SmbComDeleteDirectory(th.getConfig(), fileName), new SmbComBlankResponse(th.getConfig()));
                    }
                } else if (th.isSMB2()) {
                    final Smb2CreateRequest req = new Smb2CreateRequest(th.getConfig(), fileName.substring(1));
                    req.setDesiredAccess(0x10000); // delete
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java

            final Smb2CreateRequest create = new Smb2CreateRequest(th.getConfig(), uncPath);
            create.setCreateOptions(Smb2CreateRequest.FILE_DIRECTORY_FILE);
            create.setDesiredAccess(SmbConstants.FILE_READ_DATA | SmbConstants.FILE_READ_ATTRIBUTES);
            final Smb2QueryDirectoryRequest query = new Smb2QueryDirectoryRequest(th.getConfig());
            query.setFileName(getWildcard());
            create.chain(query);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  6. src/test/java/jcifs/context/CIFSContextWrapperTest.java

        }
    
        @Test
        void testGetConfig() {
            // Test getConfig() method
            Configuration mockConfig = mock(Configuration.class);
            when(mockDelegate.getConfig()).thenReturn(mockConfig);
            assertEquals(mockConfig, cifsContextWrapper.getConfig());
            verify(mockDelegate).getConfig();
        }
    
        @Test
        void testGetDfs() {
            // Test getDfs() method
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  7. src/test/java/jcifs/context/SingletonContextTest.java

            CIFSContext context = SingletonContext.getInstance();
            assertNotNull(context);
            assertEquals("CustomOS", context.getConfig().getNativeOs());
            assertEquals("CustomLanman", context.getConfig().getNativeLanman());
        }
    
        @Test
        void testInitAlreadyInitializedThrowsException() throws CIFSException {
            // Test attempting to initialize when already initialized
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  8. src/test/java/jcifs/context/BaseContextTest.java

            assertSame(transportPool, context.getTransportPool(), "Should return same instance on multiple calls");
        }
    
        @Test
        @DisplayName("getConfig should return the provided configuration")
        void testGetConfig() {
            // When
            Configuration config = context.getConfig();
    
            // Then
            assertSame(mockConfig, config, "Should return the same configuration instance");
        }
    
        @Test
    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)
  9. src/main/java/jcifs/smb/SmbWatchHandleImpl.java

                    /*
                     * NtTrans Notify Change Request / Response
                     */
                    req = new NtTransNotifyChange(th.getConfig(), this.handle.getFid(), this.filter, this.recursive);
                    resp = new NtTransNotifyChangeResponse(th.getConfig());
                }
    
                if (log.isTraceEnabled()) {
                    log.trace("Sending NtTransNotifyChange for " + this.handle);
                }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  10. src/main/java/jcifs/ntlmssp/Type3Message.java

                final long ts) {
            if (!tc.getConfig().isEnforceSpnegoIntegrity() && serverAvPairs == null) {
                return null;
            }
            if (serverAvPairs == null) {
                serverAvPairs = new LinkedList<>();
            }
    
            if (getFlag(NTLMSSP_NEGOTIATE_SIGN)
                    && (tc.getConfig().isEnforceSpnegoIntegrity() || haveServerTimestamp && !tc.getConfig().isDisableSpnegoIntegrity())) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 32.7K bytes
    - Click Count (0)
Back to Top