Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for getMaximumVersion (0.28 sec)

  1. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

            if ( config.isEncryptionEnabled() && config.getMaximumVersion() != null && config.getMaximumVersion().atLeast(DialectVersion.SMB300) ) {
                this.capabilities |= Smb2Constants.SMB2_GLOBAL_CAP_ENCRYPTION;
            }
    
            Set<DialectVersion> dvs = DialectVersion
                    .range(DialectVersion.max(DialectVersion.SMB202, config.getMinimumVersion()), config.getMaximumVersion());
    
            this.dialects = new int[dvs.size()];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/ContextConfigTest.java

            PropertyConfiguration p1 = new PropertyConfiguration(prop1);
            assertEquals(DialectVersion.SMB302, p1.getMinimumVersion());
            assertEquals(DialectVersion.SMB302, p1.getMaximumVersion());
    
            Properties prop2 = new Properties();
            prop2.setProperty("jcifs.smb.client.maxVersion", "SMB302");
            prop2.setProperty("jcifs.smb.client.minVersion", "SMB311");
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComNegotiate.java

            if ( config.getMinimumVersion().isSMB2() ) {
                this.dialects = new String[] {
                    "SMB 2.???", "SMB 2.002"
                };
            }
            else if ( config.getMaximumVersion().isSMB2() ) {
                this.dialects = new String[] {
                    "NT LM 0.12", "SMB 2.???", "SMB 2.002"
                };
            }
            else {
                this.dialects = new String[] {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/config/DelegatingConfiguration.java

            return this.delegate.getMinimumVersion();
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#getMaximumVersion()
         */
        @Override
        public DialectVersion getMaximumVersion () {
            return this.delegate.getMaximumVersion();
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#isUseSMB2OnlyNegotiation()
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 17.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

                log.error(
                    String.format(
                        "Server selected an disallowed dialect version %s (min: %s max: %s)",
                        selected,
                        getConfig().getMinimumVersion(),
                        getConfig().getMaximumVersion()));
                return false;
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 22 10:09:46 UTC 2020
    - 17.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/NamingTest.java

            Assume.assumeFalse("Unicode support", getContext().getConfig().isUseUnicode());
            Assume.assumeFalse("SMB2", getContext().getConfig().getMaximumVersion().isSMB2());
            String oemEncoding = getContext().getConfig().getOemEncoding();
            String str = null;
            try {
                switch ( oemEncoding.toLowerCase(Locale.ROOT) ) {
                case "cp850":
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 06 10:48:05 UTC 2020
    - 7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/config/BaseConfiguration.java

            return this.capabilities;
        }
    
    
        @Override
        public DialectVersion getMinimumVersion () {
            return this.minVersion;
        }
    
    
        @Override
        public DialectVersion getMaximumVersion () {
            return this.maxVersion;
        }
    
    
        @Override
        public boolean isUseSMB2OnlyNegotiation () {
            return this.smb2OnlyNegotiation;
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/Configuration.java

         * Property <tt>jcifs.smb.client.maxVersion</tt> (string, default SMB210)
         * 
         * @see DialectVersion
         * @return maximum protocol version to use/allow
         * @since 2.1
         */
        DialectVersion getMaximumVersion ();
    
    
        /**
         * Use SMB2 non-backward compatible negotiation style
         * 
         * Property <tt>jcifs.smb.client.useSMB2Negotiation</tt> (boolean, default false)
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 18K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTransportImpl.java

                int reqLen = negotiateWrite(smb2neg, first != null);
                boolean doPreauth = getContext().getConfig().getMaximumVersion().atLeast(DialectVersion.SMB311);
                if ( doPreauth ) {
                    negoReqBuffer = new byte[reqLen];
                    System.arraycopy(this.sbuf, 4, negoReqBuffer, 0, reqLen);
                }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
Back to top