Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for Negotiate (0.05 sec)

  1. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

            }
        }
    
        @Override
        public void destroy() {
        }
    
        /**
         * This method simply calls {@code negotiate( req, resp, false )}
         * and then {@code chain.doFilter}. You can override and call
         * negotiate manually to achive a variety of different behavior.
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

                    log.debug("Multiple preauth negotiate contexts");
                    return false;
                }
            }
    
            if (!foundPreauth) {
                log.error("Missing preauth negotiate context");
                return false;
            }
            if (!foundEnc && (caps & Smb2Constants.SMB2_GLOBAL_CAP_ENCRYPTION) != 0) {
                log.error("Missing encryption negotiate context");
                return false;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  3. src/main/java/jcifs/http/NtlmHttpFilter.java

            }
        }
    
        @Override
        public void destroy() {
        }
    
        /**
         * This method simply calls {@code negotiate( req, resp, false )}
         * and then {@code chain.doFilter}. You can override and call
         * negotiate manually to achive a variety of different behavior.
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            // When
            int bytesWritten = request.writeBytesWireFormat(buffer, 0);
    
            // Then
            assertTrue(bytesWritten > 36);
    
            // Verify negotiate context count
            assertEquals(2, SMBUtil.readInt2(buffer, 32));
    
            // Verify negotiate context offset is set
            int contextOffset = SMBUtil.readInt4(buffer, 28);
            assertTrue(contextOffset > 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

                assertTrue(true, "Negotiate context data length validation exists in code (max 1024 bytes)");
            } catch (SMBProtocolDecodingException e) {
                // If exception thrown, validation is working
                assertTrue(e.getMessage().contains("Invalid negotiate context data length") || e.getMessage().contains("Buffer too small")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

            verify(transport).close();
        }
    
        @Test
        @DisplayName("getServerTimeZoneOffset: SMB1 negotiate path multiplies minutes to millis")
        void getServerTimeZoneOffsetSmb1() throws Exception {
            // Uses concrete SMB1 negotiate response to exercise SMB1-specific branch
            // Build a concrete SMB1 negotiate response to expose ServerData fields
            jcifs.CIFSContext ctx = mock(jcifs.CIFSContext.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            SMBUtil.writeInt2(128, buffer, offset + 56); // Offset
            SMBUtil.writeInt2(0, buffer, offset + 58); // Length
    
            // Negotiate context offset
            SMBUtil.writeInt4(144, buffer, offset + 60); // Point to contexts
    
            // Add negotiate contexts at offset 144
            int ctxOffset = 144;
    
            // Preauth integrity context
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            }
        }
    
        @Override
        protected void doConnect() throws IOException {
            /*
             * Negotiate Protocol Request / Response
             */
    
            final SmbComNegotiateResponse resp = new SmbComNegotiateResponse(server);
            try {
                negotiate(port, resp);
            } catch (final ConnectException | NoRouteToHostException nr) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  9. docs/smb3-features/05-rdma-smb-direct-design.md

                                      int remoteKey,
                                      int length) throws IOException;
        
        /**
         * Negotiate RDMA parameters
         */
        public abstract RdmaNegotiateResponse negotiate(RdmaNegotiateRequest request) throws IOException;
        
        public boolean canSend() {
            return sendCredits.get() > 0 && state == RdmaConnectionState.ESTABLISHED;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

                }
                if (currentAuthMethod.startsWith("Negotiate")) {
                    if (currentAuthMethod.length() == 9) {
                        authMethod = "Negotiate";
                        break;
                    }
                    if (currentAuthMethod.indexOf(' ') != 9) {
                        continue;
                    }
                    authMethod = "Negotiate";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
Back to top