Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 29 of 29 for DialectVersion (0.06 sec)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

        }
    
        @Test
        void testWithMockConfiguration() {
            when(mockConfig.getMinimumVersion()).thenReturn(jcifs.DialectVersion.SMB1);
            when(mockConfig.getMaximumVersion()).thenReturn(jcifs.DialectVersion.SMB311);
    
            trans2QueryPathInfo = new Trans2QueryPathInformation(mockConfig, TEST_FILENAME, TEST_INFO_LEVEL);
    
            assertNotNull(trans2QueryPathInfo);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportImpl.java

            }
    
            final Smb2NegotiateResponse resp = (Smb2NegotiateResponse) this.negotiated;
            final DialectVersion dialect = resp.getSelectedDialect();
            int cipherId = -1;
    
            if (dialect.atLeast(DialectVersion.SMB311)) {
                cipherId = resp.getSelectedCipher();
                if (cipherId == -1) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

    import java.lang.reflect.Field;
    import java.util.Date;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    
    import jcifs.CIFSContext;
    import jcifs.DialectVersion;
    import jcifs.SmbConstants;
    import jcifs.config.BaseConfiguration;
    import jcifs.context.BaseContext;
    import jcifs.internal.SmbNegotiationRequest;
    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Hexdump;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. 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 Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/Configuration.java

         *
         * @see DialectVersion
         * @return minimum protocol version to use/allow
         * @since 2.1
         */
        DialectVersion getMinimumVersion();
    
        /**
         * Maximum protocol version
         *
         * Property {@code jcifs.smb.client.maxVersion} (string, default SMB210)
         *
         * @see DialectVersion
         * @return maximum protocol version to use/allow
         * @since 2.1
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTreeImpl.java

    import java.util.concurrent.atomic.AtomicLong;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.DfsReferralData;
    import jcifs.DialectVersion;
    import jcifs.RuntimeCIFSException;
    import jcifs.SmbConstants;
    import jcifs.SmbTree;
    import jcifs.internal.CommonServerMessageBlockRequest;
    import jcifs.internal.CommonServerMessageBlockResponse;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

        }
    
        @Test
        @DisplayName("Test with mock configuration")
        void testWithMockConfiguration() {
            when(mockConfig.getMinimumVersion()).thenReturn(jcifs.DialectVersion.SMB1);
            when(mockConfig.getMaximumVersion()).thenReturn(jcifs.DialectVersion.SMB311);
    
            trans2QueryFSInfo = new Trans2QueryFSInformation(mockConfig, FileSystemInformation.SMB_INFO_ALLOCATION);
    
            assertNotNull(trans2QueryFSInfo);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

        }
    
        @Test
        @DisplayName("Test with mock configuration")
        void testWithMockConfiguration() {
            when(mockConfig.getMinimumVersion()).thenReturn(jcifs.DialectVersion.SMB1);
            when(mockConfig.getMaximumVersion()).thenReturn(jcifs.DialectVersion.SMB311);
    
            trans2SetFileInfo = new Trans2SetFileInformation(mockConfig, TEST_FID, mockFileInfo);
    
            assertNotNull(trans2SetFileInfo);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbSessionImpl.java

    import javax.security.auth.Subject;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.Configuration;
    import jcifs.DialectVersion;
    import jcifs.RuntimeCIFSException;
    import jcifs.SmbConstants;
    import jcifs.SmbSession;
    import jcifs.internal.CommonServerMessageBlock;
    import jcifs.internal.CommonServerMessageBlockRequest;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
Back to top