- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 122 for negotiator (0.05 seconds)
-
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
// Mock the negotiation response when(negotiationResponse.isSigningRequired()).thenReturn(false); when(negotiationResponse.isSigningNegotiated()).thenReturn(false); when(negotiationResponse.canReuse(any(CIFSContext.class), anyBoolean())).thenReturn(true); // Use reflection to set the negotiated responseCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 19.2K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmHttpFilterTest.java
when(httpSession.getAttribute("NtlmHttpAuth")).thenReturn(null); // Create a custom filter that overrides negotiate to test skipAuthentication NtlmHttpFilter customFilter = new NtlmHttpFilter() { @Override protected NtlmPasswordAuthentication negotiate(HttpServletRequest req, HttpServletResponse resp, boolean skipAuthentication) throws IOException, ServletException {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 12.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/NtlmContextTest.java
assertTrue(context.isEstablished()); assertArrayEquals(serverChallenge, context.getServerChallenge()); // Signing key may or may not be generated depending on flags negotiation // The context negotiates flags with server, so we can't guarantee signing key } @Test void testInitSecContext_state2_withoutSigning() throws Exception {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java
throw new UnsupportedOperationException("RDMA write not supported by TCP fallback"); } @Override public RdmaNegotiateResponse negotiate(RdmaNegotiateRequest request) throws IOException { // For TCP fallback, we simulate successful negotiation RdmaNegotiateResponse response = new RdmaNegotiateResponse(); response.setStatus(0); // Success
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 8.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt
) { } /** Called after the TLS handshake to release resources allocated by [configureTlsExtensions]. */ open fun afterHandshake(sslSocket: SSLSocket) { } /** Returns the negotiated protocol, or null if no protocol was negotiated. */ open fun getSelectedProtocol(sslSocket: SSLSocket): String? = null /** For MockWebServer. This returns the inbound SNI names. */ @Suppress("NewApi")Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 8.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/SmbNegotiationResponseTest.java
@Mock private Response response; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test @DisplayName("Test isValid returns true for valid negotiation") void testIsValidReturnsTrue() { // Arrange when(negotiationResponse.isValid(cifsContext, negotiationRequest)).thenReturn(true); // ActCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java
assertNotNull(channelManager); assertNotNull(channelManager.getChannels()); // Note: isUseMultiChannel() checks if actual multi-channel is negotiated with server // In mock environment, this will be false until we mock successful negotiation // Verify load balancer is initialized assertNotNull(channelManager.getLoadBalancer()); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 8.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/SmbNegotiationTest.java
void testConstructor() { // Verify all fields are properly initialized assertNotNull(negotiation); assertSame(mockRequest, negotiation.getRequest()); assertSame(mockResponse, negotiation.getResponse()); assertSame(testRequestBuffer, negotiation.getRequestRaw()); assertSame(testResponseBuffer, negotiation.getResponseRaw()); } @Test @DisplayName("Constructor with null request should work")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/SmbNegotiation.java
*/ package jcifs.internal; /** * Container class for SMB protocol negotiation state. * Holds the negotiation request, response, and raw buffer data exchanged * between client and server during SMB protocol version negotiation. * * @author mbechler */ public final class SmbNegotiation { private final SmbNegotiationRequest request;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/EncryptionNegotiateContext.java
package jcifs.internal.smb2.nego; import jcifs.Configuration; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.util.SMBUtil; /** * SMB2 Encryption Negotiate Context. * * This negotiate context is used in SMB 3.x to negotiate * encryption capabilities and cipher suites. * * @author mbechler */ public class EncryptionNegotiateContext implements NegotiateContextRequest, NegotiateContextResponse {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 3.8K bytes - Click Count (0)