Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for DialectVersion (0.12 sec)

  1. src/main/java/jcifs/DialectVersion.java

         */
        public static DialectVersion min ( DialectVersion a, DialectVersion b ) {
            if ( a.atMost(b) ) {
                return a;
            }
            return b;
        }
    
    
        /**
         * 
         * @param a
         * @param b
         * @return larger of the two versions
         */
        public static DialectVersion max ( DialectVersion a, DialectVersion b ) {
            if ( a.atLeast(b) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.6K bytes
    - Viewed (0)
  2. 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)
  3. src/main/java/jcifs/config/BaseConfiguration.java

            DialectVersion min = ( minStr != null && !minStr.isEmpty() ) ? DialectVersion.valueOf(minStr) : null;
            DialectVersion max = ( maxStr != null && !maxStr.isEmpty() ) ? DialectVersion.valueOf(maxStr) : null;
            initProtocolVersions(min, max);
        }
    
    
        protected void initProtocolVersions ( DialectVersion min, DialectVersion max ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  4. 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)
  5. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

                log.error("Server returned ANY dialect");
                return false;
            }
    
            Smb2NegotiateRequest r = (Smb2NegotiateRequest) req;
    
            DialectVersion selected = null;
            for ( DialectVersion dv : DialectVersion.values() ) {
                if ( !dv.isSMB2() ) {
                    continue;
                }
                if ( dv.getDialect() == getDialectRevision() ) {
                    selected = dv;
    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/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbNegotiationResponse#getSelectedDialect()
         */
        @Override
        public DialectVersion getSelectedDialect () {
            return DialectVersion.SMB1;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbNegotiationResponse#getTransactionBufferSize()
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 15.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/SmbNegotiationResponse.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal;
    
    
    import jcifs.CIFSContext;
    import jcifs.DialectVersion;
    import jcifs.util.transport.Response;
    
    
    /**
     * @author mbechler
     *
     */
    public interface SmbNegotiationResponse extends CommonServerMessageBlock, Response {
    
        /**
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/config/PropertyConfiguration.java

                boolean nosmb1 = Config.getBoolean(p, "jcifs.smb.client.disableSMB1", false);
                initProtocolVersions(nosmb1 ? DialectVersion.SMB202 : null, !smb2 ? DialectVersion.SMB1 : null);
            }
    
            initResolverOrder(p.getProperty("jcifs.resolveOrder"));
            initDisallowCompound(p.getProperty("jcifs.smb.client.disallowCompound"));
            initDefaults();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/config/DelegatingConfiguration.java

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

         * 
         * @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
         * @return maximum protocol version to use/allow
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 18K bytes
    - Viewed (0)
Back to top