Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 189 for get_config (0.35 sec)

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

         */
        public NtlmPasswordAuthentication(final CIFSContext tc, final String userInfo) {
            super(userInfo, tc.getConfig().getDefaultDomain(),
                    tc.getConfig().getDefaultUsername() != null ? tc.getConfig().getDefaultUsername() : "GUEST",
                    tc.getConfig().getDefaultPassword() != null ? tc.getConfig().getDefaultPassword() : "");
            this.context = tc;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. cmd/bucket-metadata-sys.go

    	meta, _, err := sys.GetConfig(GlobalContext, bucket)
    	if err != nil {
    		return nil, err
    	}
    	return meta.notificationConfig, nil
    }
    
    // GetSSEConfig returns configured SSE config
    // The returned object may not be modified.
    func (sys *BucketMetadataSys) GetSSEConfig(bucket string) (*bucketsse.BucketSSEConfig, time.Time, error) {
    	meta, _, err := sys.GetConfig(GlobalContext, bucket)
    	if err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

            this.response = new Trans2FindFirst2Response(th.getConfig());
    
            try {
                th.send(new Trans2FindFirst2(th.getConfig(), unc, this.getWildcard(), this.getSearchAttributes(), th.getConfig().getListCount(),
                        th.getConfig().getListSize() - FIND_OVERHEAD), this.response);
    
                this.nextRequest = new Trans2FindNext2(th.getConfig(), this.response.getSid(), this.response.getResumeKey(),
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.1K bytes
    - Viewed (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
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  5. 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,
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  6. 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);
                }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java

                // Arrange
                when(cifsContext.getConfig()).thenReturn(configuration);
                Smb2LogoffRequest req = newRequest();
    
                // Act
                Smb2LogoffResponse resp = req.createResponse(cifsContext, null);
    
                // Assert
                assertNotNull(resp, "Response should be created even if req is null");
                verify(cifsContext, times(1)).getConfig();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. 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
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

                dstIndex += writeString(this.accountName, dst, dstIndex);
                dstIndex += writeString(this.primaryDomain, dst, dstIndex);
            }
            dstIndex += writeString(getConfig().getNativeOs(), dst, dstIndex);
            dstIndex += writeString(getConfig().getNativeLanman(), dst, dstIndex);
    
            return dstIndex - start;
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. 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
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top