Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for sessionSetup (0.2 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/main/java/jcifs/smb1/smb1/SmbSession.java

                if (response != null) {
                    response.received = false;
                }
    
                expiration = System.currentTimeMillis() + SmbConstants.SO_TIMEOUT;
                sessionSetup(request, response);
                if (response != null && response.received) {
                    return;
                }
    
                if (request instanceof final SmbComTreeConnectAndX tcax) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbSessionImpl.java

                    }
    
                    T chainedResponse;
                    try {
                        chainedResponse = sessionSetup(request, response);
                    } catch (GeneralSecurityException e) {
                        throw new SmbException("Session setup failed", e);
                    }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  4. 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