Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 29 for negotiation (0.08 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/internal/SmbNegotiationTest.java

        void testConstructor() {
            // Verify all fields are properly initialized
            assertNotNull(negotiation);
            assertSame(mockRequest, negotiation.getRequest());
            assertSame(mockResponse, negotiation.getResponse());
            assertSame(testRequestBuffer, negotiation.getRequestRaw());
            assertSame(testResponseBuffer, negotiation.getResponseRaw());
        }
    
        @Test
        @DisplayName("Constructor with null request should work")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/ntlmssp/Type1MessageTest.java

            assertEquals(0, messageBytes[9] & 0xFF);
            assertEquals(0, messageBytes[10] & 0xFF);
            assertEquals(0, messageBytes[11] & 0xFF);
        }
    
        @Test
        @DisplayName("Should handle Unicode negotiation flag")
        void testUnicodeNegotiation() {
            // Given
            int unicodeFlags = NtlmFlags.NTLMSSP_NEGOTIATE_UNICODE;
            int oemFlags = NtlmFlags.NTLMSSP_NEGOTIATE_OEM;
    
            // When
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  3. docs/SMB3_IMPLEMENTATION_PLAN.md

    - [ ] Implement RDMA capability detection
    - [ ] Create RDMA negotiation context
    - [ ] Implement RDMA transport layer
    - [ ] Add RDMA buffer registration
    - [ ] Create RDMA read/write operations
    - [ ] Implement RDMA credits management
    - [ ] Add fallback to TCP when RDMA unavailable
    
    #### 5.3 Integration Points
    - Create new transport type alongside TCP
    - Modify negotiation to include RDMA contexts
    - Update read/write operations for RDMA
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SmbTreeImpl.java

                log.debug("Secure negotiation does not apply");
                return;
            }
    
            final Smb2NegotiateResponse nego = (Smb2NegotiateResponse) trans.getNegotiateResponse();
            if (nego.getSelectedDialect().atLeast(DialectVersion.SMB311)) {
                // have preauth integrity instead
                log.debug("Secure negotiation does not apply, is SMB3.1");
                return;
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java

            }
        }
    
        @Override
        public RdmaNegotiateResponse negotiate(RdmaNegotiateRequest request) throws IOException {
            // Simulate successful negotiation for skeleton implementation
            RdmaNegotiateResponse response = new RdmaNegotiateResponse();
            response.setStatus(0); // Success
            response.setSelectedVersion(request.getMaxVersion());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  6. src/main/java/jcifs/Configuration.java

        /**
         * Use SMB2 non-backward compatible negotiation style
         *
         * Property {@code jcifs.smb.client.useSMB2Negotiation} (boolean, default false)
         *
         * @return whether to use non-backward compatible protocol negotiation
         */
        boolean isUseSMB2OnlyNegotiation();
    
        /**
         * Enforce secure negotiation
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/NtlmContext.java

        private static final Logger log = LoggerFactory.getLogger(NtlmContext.class);
    
        /**
         * The NTLMSSP OID (1.3.6.1.4.1.311.2.2.10) used in SPNEGO negotiation.
         */
        public static ASN1ObjectIdentifier NTLMSSP_OID;
    
        static {
            try {
                NTLMSSP_OID = new ASN1ObjectIdentifier("1.3.6.1.4.1.311.2.2.10");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 17.3K bytes
    - Click Count (1)
  8. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

        @Mock
        private Response response;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        @DisplayName("Test isValid returns true for valid negotiation")
        void testIsValidReturnsTrue() {
            // Arrange
            when(negotiationResponse.isValid(cifsContext, negotiationRequest)).thenReturn(true);
    
            // Act
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/PreauthIntegrityTest.java

         */
        @Test
        @DisplayName("Pre-auth integrity hash should be thread-safe")
        void testPreauthHashThreadSafety() throws Exception {
            // Setup SMB3.1.1 negotiation
            when(negotiateResponse.getSelectedDialect()).thenReturn(DialectVersion.SMB311);
            when(negotiateResponse.getSelectedPreauthHash()).thenReturn(1); // SHA-512
            setPrivateField(transport, "smb2", true);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

         */
        public final int getCommonCapabilities() {
            return this.commonCapabilities;
        }
    
        /**
         * Gets the initial security blob for authentication negotiation.
         *
         * @return initial security blob
         */
        public byte[] getSecurityBlob() {
            return this.securityBuffer;
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 24K bytes
    - Click Count (0)
Back to Top