- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getNegotiatedCapabilities (0.15 sec)
-
src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java
when(mockContext.getConfig()).thenReturn(mockConfig); when(mockNegotiate.getServerData()).thenReturn(new ServerDataStub()); } private void setupNegotiateStubs() { when(mockNegotiate.getNegotiatedCapabilities()).thenReturn(0x00123456); when(mockNegotiate.getNegotiatedSendBufferSize()).thenReturn(65535); when(mockNegotiate.getNegotiatedMpxCount()).thenReturn(65535);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java
} /** * Returns the server capabilities negotiated during the SMB handshake. * * @return the negotiated capabilities */ public int getNegotiatedCapabilities() { return this.capabilities; } /** * Gets the negotiated send buffer size. * * @return negotiated send buffer size */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java
response.getServerData().maxBufferSize = 16384; assertTrue(response.isValid(mockContext, request)); // After negotiation, check if unicode capability is preserved assertTrue((response.getNegotiatedCapabilities() & SmbConstants.CAP_UNICODE) != 0); } @Test public void testIsValidWithInvalidDialect() { SmbNegotiationRequest request = mock(SmbNegotiationRequest.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java
final Object cred) throws SmbException, GeneralSecurityException { super(tc.getConfig(), SMB_COM_SESSION_SETUP_ANDX, andx); this.negotiated = negotiated; this.capabilities = negotiated.getNegotiatedCapabilities(); final ServerData server = negotiated.getServerData(); if (server.security == SmbConstants.SECURITY_USER) { if (cred instanceof final NtlmPasswordAuthenticator a) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0)