Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for sessionSetup (0.99 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

            resp.received = true;
    
            session.transport(); // initialise transport
    
            // Mock the sessionSetup behavior to avoid actual network calls
            // The sessionSetup method would normally send authentication messages
            // Only mark the sessionSetup response as received, not the actual request/response
            doAnswer(invocation -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

            SMBUtil.writeInt4(0x00000001, buf, start + 16);
            // SessionId at +40 (sync header)
            SMBUtil.writeInt8(sessionId, buf, start + 40);
        }
    
        /**
         * Build a SESSION_SETUP response body with specified flags and security blob.
         * securityBufferOffset is set relative to header start.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
Back to top