Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for atLeast (0.05 sec)

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

            // SMB1 versions should not be allowed
            assertTrue("SMB1 should be disabled", config.getMinimumVersion().atLeast(DialectVersion.SMB202));
    
            // Minimum version should be SMB2 or higher
            assertTrue("Minimum version should be SMB2 or higher", config.getMinimumVersion().atLeast(DialectVersion.SMB202));
        }
    
        /**
         * Test that encryption is properly configured
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java

                failover.handleFailure(failedChannel, error);
            }
    
            // Should eventually remove the channel
            verify(mockChannelManager, atLeast(1)).removeChannel(failedChannel);
            verify(mockChannelManager, atLeast(1)).establishReplacementChannel();
        }
    
        @Test
        void testShutdown() {
            failover.shutdown();
    
            // Should not throw any exceptions
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/DialectVersion.java

         * Check if this dialect version is at least the specified version
         *
         * @param v the version to compare against
         * @return whether this version is a least the given one
         */
        public boolean atLeast(final DialectVersion v) {
            return ordinal() >= v.ordinal();
        }
    
        /**
         * Check if this dialect version is at most the specified version
         *
         * @param v the version to compare against
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

                i++;
            }
    
            if (config.getMaximumVersion().atLeast(DialectVersion.SMB210)) {
                System.arraycopy(config.getMachineId(), 0, this.clientGuid, 0, this.clientGuid.length);
            }
    
            final List<NegotiateContextRequest> negoContexts = new LinkedList<>();
            if (config.getMaximumVersion() != null && config.getMaximumVersion().atLeast(DialectVersion.SMB311)) {
                final byte[] salt = new byte[32];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top