Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for minVersion (0.05 sec)

  1. src/test/java/jcifs/config/PropertyConfigurationTest.java

        void testDialectVersionProperties() throws CIFSException {
            // Given
            Properties props = new Properties();
            props.setProperty("jcifs.smb.client.minVersion", "SMB1");
            props.setProperty("jcifs.smb.client.maxVersion", "SMB311");
    
            // When
            PropertyConfiguration testConfig = new PropertyConfiguration(props);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/config/PropertyConfiguration.java

            // Dialect version properties - these should throw exceptions for invalid values
            String minVersion = props.getProperty("jcifs.smb.client.minVersion");
            String maxVersion = props.getProperty("jcifs.smb.client.maxVersion");
            if (minVersion != null || maxVersion != null) {
                initProtocolVersions(minVersion, maxVersion);
            }
    
            // Multi-Channel Configuration
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/config/BaseConfiguration.java

            // Default to SMB2 minimum for security - SMB1 is deprecated and insecure
            this.minVersion = min != null ? min : DialectVersion.SMB202;
            this.maxVersion = max != null ? max : DialectVersion.SMB311;
    
            if (this.minVersion.atLeast(this.maxVersion)) {
                this.maxVersion = this.minVersion;
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/config/DelegatingConfigurationTest.java

        void testProtocolVersionDelegation() {
            // Given
            DialectVersion minVersion = DialectVersion.SMB1;
            DialectVersion maxVersion = DialectVersion.SMB311;
            when(mockDelegate.getMinimumVersion()).thenReturn(minVersion);
            when(mockDelegate.getMaximumVersion()).thenReturn(maxVersion);
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  5. cmd/bucket-metadata.go

    	crypto.S3.CreateMetadata(metadata, key.KeyID, key.Ciphertext, sealedKey)
    	_, err = sio.Encrypt(outbuf, bytes.NewBuffer(input), sio.Config{Key: objectKey[:], MinVersion: sio.Version20})
    	if err != nil {
    		return output, metabytes, err
    	}
    	metabytes, err = json.Marshal(metadata)
    	if err != nil {
    		return
    	}
    	return outbuf.Bytes(), metabytes, nil
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 16 14:27:42 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/config/BaseConfigurationTest.java

        void testInitDefaultsWithPresetProtocolVersions() throws CIFSException {
            BaseConfiguration testConfig = new BaseConfiguration(false);
            testConfig.minVersion = DialectVersion.SMB210;
            testConfig.maxVersion = DialectVersion.SMB300;
    
            testConfig.initDefaults();
    
            assertEquals(DialectVersion.SMB210, testConfig.getMinimumVersion());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/Configuration.java

         *
         * @return whether to convert NetBIOS names returned by DFS to FQDNs
         */
        boolean isDfsConvertToFQDN();
    
        /**
         * Minimum protocol version
         *
         * Property {@code jcifs.smb.client.minVersion} (string, default SMB1)
         *
         * @see DialectVersion
         * @return minimum protocol version to use/allow
         * @since 2.1
         */
        DialectVersion getMinimumVersion();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  8. cmd/utils.go

    }
    
    func newTLSConfig(getCert certs.GetCertificateFunc) *tls.Config {
    	if getCert == nil {
    		return nil
    	}
    
    	tlsConfig := &tls.Config{
    		PreferServerCipherSuites: true,
    		MinVersion:               tls.VersionTLS12,
    		NextProtos:               []string{"http/1.1", "h2"},
    		GetCertificate:           getCert,
    		ClientSessionCache:       tls.NewLRUClientSessionCache(tlsClientSessionCacheSize),
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 33K bytes
    - Viewed (0)
  9. cmd/encryption-v1.go

    	if err != nil {
    		return nil, crypto.ObjectKey{}, err
    	}
    
    	reader, err := sio.EncryptReader(content, sio.Config{Key: objectEncryptionKey[:], MinVersion: sio.Version20})
    	if err != nil {
    		return nil, crypto.ObjectKey{}, crypto.ErrInvalidCustomerKey
    	}
    
    	return reader, objectEncryptionKey, nil
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/model/CIBuildModel.kt

                                JvmCategory.MIN_VERSION,
                                DEFAULT_LINUX_FUNCTIONAL_TEST_BUCKET_SIZE,
                            ),
                            TestCoverage(
                                21,
                                TestType.ISOLATED_PROJECTS,
                                Os.LINUX,
                                JvmCategory.MIN_VERSION,
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Sun Aug 03 22:40:28 UTC 2025
    - 25.9K bytes
    - Viewed (0)
Back to top