- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for Smb2SessionSetupResponse (0.09 sec)
-
src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupResponse.java
/** * SMB2 Session Setup response message. This response contains the server's authentication * challenge or confirms successful session establishment. * * @author mbechler * */ public class Smb2SessionSetupResponse extends ServerMessageBlock2Response { /** * Session flag indicating this is a guest session */ public static final int SMB2_SESSION_FLAGS_IS_GUEST = 0x1; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.8K bytes - Viewed (1) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java
import jcifs.internal.util.SMBUtil; import jcifs.smb.NtStatus; /** * Tests for Smb2SessionSetupResponse decoding and behavior. */ @ExtendWith(MockitoExtension.class) @DisplayName("Smb2SessionSetupResponse Tests") @MockitoSettings(strictness = Strictness.LENIENT) class Smb2SessionSetupResponseTest extends BaseTest { private Smb2SessionSetupResponse newResponse() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupRequest.java
this.previousSessionId = previousSessionid; this.token = token; } @Override protected Smb2SessionSetupResponse createResponse(final CIFSContext tc, final ServerMessageBlock2Request<Smb2SessionSetupResponse> req) { return new Smb2SessionSetupResponse(tc.getConfig()); } /** * Sets whether this request is for session binding * * @param sessionBinding
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
import jcifs.internal.smb2.persistent.PersistentHandleManager; import jcifs.internal.smb2.session.Smb2LogoffRequest; import jcifs.internal.smb2.session.Smb2SessionSetupRequest; import jcifs.internal.smb2.session.Smb2SessionSetupResponse; import jcifs.internal.witness.WitnessClient; import jcifs.internal.witness.WitnessNotification; import jcifs.internal.witness.WitnessRegistration; import jcifs.util.Hexdump; /** * */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 68.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
@Test @DisplayName("Should create proper response object") void testCreateResponse() { // When Smb2SessionSetupResponse response = request.createResponse(mockContext, request); // Then assertNotNull(response); assertTrue(response instanceof Smb2SessionSetupResponse); // The constructor calls getConfig once, createResponse calls it once verify(mockContext, times(2)).getConfig();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
void testConnectionAndFailureStatus() { SmbSessionImpl session = newSession(); // Make session look connected via setSessionSetup Smb2SessionSetupResponse resp = mock(Smb2SessionSetupResponse.class); when(resp.getSessionId()).thenReturn(42L); session.setSessionSetup(resp); when(transport.isDisconnected()).thenReturn(false);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
docs/smb3-features/03-multi-channel-design.md
request.setSessionId(session.getSessionId()); request.setFlags(SMB2_SESSION_FLAG_BINDING); request.setSecurityBuffer(bindingHash); Smb2SessionSetupResponse response = (Smb2SessionSetupResponse) channel.getTransport().send(request); if (!response.isSuccess()) { throw new IOException("Channel binding failed: " + response.getStatus()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0)