Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 119 for negotiator (0.11 sec)

  1. 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 {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  3. 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 {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. 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. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java

                throw new IOException("DiSNI RDMA write failed", e);
            }
        }
    
        @Override
        public RdmaNegotiateResponse negotiate(RdmaNegotiateRequest request) throws IOException {
            // Simulate successful negotiation for skeleton implementation
            RdmaNegotiateResponse response = new RdmaNegotiateResponse();
            response.setStatus(0); // Success
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  6. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  7. 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")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. 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 {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  9. 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;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  10. 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);
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.6K bytes
    - Viewed (0)
Back to top