Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for getMinimumVersion (0.17 sec)

  1. src/test/java/jcifs/tests/ContextConfigTest.java

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

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

            return this.delegate.getRandom();
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#getMinimumVersion()
         */
        @Override
        public DialectVersion getMinimumVersion () {
            return this.delegate.getMinimumVersion();
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#getMaximumVersion()
         */
        @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)
  4. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

            }
    
            if ( !selected.atLeast(getConfig().getMinimumVersion()) || !selected.atMost(getConfig().getMaximumVersion()) ) {
                log.error(
                    String.format(
                        "Server selected an disallowed dialect version %s (min: %s max: %s)",
                        selected,
                        getConfig().getMinimumVersion(),
                        getConfig().getMaximumVersion()));
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 22 10:09:46 UTC 2020
    - 17.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

                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()];
            int i = 0;
            for ( DialectVersion ver : dvs ) {
                this.dialects[ i ] = ver.getDialect();
                i++;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/config/BaseConfiguration.java

            return this.vcNumber;
        }
    
    
        @Override
        public int getCapabilities () {
            return this.capabilities;
        }
    
    
        @Override
        public DialectVersion getMinimumVersion () {
            return this.minVersion;
        }
    
    
        @Override
        public DialectVersion getMaximumVersion () {
            return this.maxVersion;
        }
    
    
        @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)
  7. src/main/java/jcifs/Configuration.java

         * Property <tt>jcifs.smb.client.minVersion</tt> (string, default SMB1)
         * 
         * @see DialectVersion
         * @return minimum protocol version to use/allow
         * @since 2.1
         */
        DialectVersion getMinimumVersion ();
    
    
        /**
         * Maximum protocol version
         * 
         * Property <tt>jcifs.smb.client.maxVersion</tt> (string, default SMB210)
         * 
         * @see DialectVersion
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 18K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTransportImpl.java

                negotiatePeek();
    
                SmbNegotiationResponse resp = null;
    
                if ( !this.smb2 ) {
                    if ( this.getContext().getConfig().getMinimumVersion().isSMB2() ) {
                        throw new CIFSException("Server does not support SMB2");
                    }
                    resp = new SmbComNegotiateResponse(getContext());
                    resp.decode(this.sbuf, 4);
    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