Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 77 for negotiation (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

            void testSmb2HeaderLength() {
                assertEquals(64, Smb2Constants.SMB2_HEADER_LENGTH, "SMB2 header must be exactly 64 bytes");
            }
        }
    
        @Nested
        @DisplayName("Negotiation Constants")
        class NegotiationConstants {
    
            @Test
            @DisplayName("Signing enabled flag should be 0x0001")
            void testSigningEnabledFlag() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

            assertTrue(handle.isSMB2());
    
            reset(transport);
            when(session.getTransport()).thenReturn(transport);
            when(transport.isSMB2()).thenThrow(new SmbException("negotiation missing"));
            assertFalse(handle.isSMB2());
        }
    
        @Test
        @DisplayName("Null treeConnection throws NPE")
        void constructorNullTreeConnection() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            // Given: An existing connection without signing enforced
            SmbTransportImpl initial = pool.getSmbTransport(ctx, address, 445, false, false);
    
            // Mock the negotiation response
            when(negotiationResponse.isSigningRequired()).thenReturn(false);
            when(negotiationResponse.isSigningNegotiated()).thenReturn(false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt

    /**
     * Access to platform-specific features.
     *
     * ### Session Tickets
     *
     * Supported on Android 2.3+.
     * Supported on JDK 8+ via Conscrypt.
     *
     * ### ALPN (Application Layer Protocol Negotiation)
     *
     * Supported on Android 5.0+.
     *
     * Supported on OpenJDK 8 via the JettyALPN-boot library or Conscrypt.
     *
     * Supported on OpenJDK 9+ via SSLParameters and SSLSocket features.
     *
    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. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

        // we should try the next route (if there is one).
        if (e is InterruptedIOException) {
          return e is SocketTimeoutException && !requestSendStarted
        }
    
        // Look for known client-side or negotiation errors that are unlikely to be fixed by trying
        // again with a different route.
        if (e is SSLHandshakeException) {
          // If the problem was a CertificateException from the X509TrustManager,
          // do not retry.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/SmbConstants.java

         */
        int FLAGS2_SECURITY_SIGNATURES = 0x0004;
        /**
         * Security signatures are required flag.
         */
        int FLAGS2_SECURITY_REQUIRE_SIGNATURES = 0x0010;
        /**
         * Extended security negotiation is supported flag.
         */
        int FLAGS2_EXTENDED_SECURITY_NEGOTIATION = 0x0800;
        /**
         * Resolve paths in Distributed File System flag.
         */
        int FLAGS2_RESOLVE_PATHS_IN_DFS = 0x1000;
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

       * to HTTP/1.1.
       */
      public var protocolNegotiationEnabled: Boolean = true
    
      /**
       * The protocols supported by ALPN on incoming HTTPS connections in order of preference. The list
       * must contain [Protocol.HTTP_1_1]. It must not contain null.
       *
       * This list is ignored when [negotiation is disabled][protocolNegotiationEnabled].
       */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/http/NtlmHttpFilterTest.java

            // For this test, we'll simulate that no auth header means we should challenge
            // Since we can't mock the internal transport operations easily without real network,
            // we'll test the simpler case where no NTLM negotiation is needed
            when(request.getHeader("Authorization")).thenReturn(null);
    
            filter.doFilter(request, response, filterChain);
    
            // Should challenge the client
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SpnegoContext.java

                }
                if (targ.getResult() != NegTokenTarg.ACCEPT_COMPLETED) {
                    throw new SmbException("SPNEGO negotiation did not complete");
                }
                verifyMechListMIC(targ.getMechanismListMIC());
                this.completed = true;
                return null;
            }
    
            if (inputToken == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/config/DelegatingConfigurationTest.java

            boolean port139Failover = delegatingConfig.isPort139FailoverEnabled();
            boolean dfsStrictView = delegatingConfig.isDfsStrictView();
    
            // Then
            assertTrue(smb2Only, "Should delegate SMB2 only negotiation");
            assertFalse(secureNegotiate, "Should delegate secure negotiate requirement");
            assertTrue(ntlmTargetName, "Should delegate NTLM target name setting");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
Back to top