Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 66 for Negotiation (0.08 sec)

  1. src/test/java/jcifs/smb/PreauthIntegrityTest.java

         */
        @Test
        @DisplayName("Pre-auth integrity hash should be thread-safe")
        void testPreauthHashThreadSafety() throws Exception {
            // Setup SMB3.1.1 negotiation
            when(negotiateResponse.getSelectedDialect()).thenReturn(DialectVersion.SMB311);
            when(negotiateResponse.getSelectedPreauthHash()).thenReturn(1); // SHA-512
            setPrivateField(transport, "smb2", true);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        /** Extended attributes supported flag */
        int FLAGS2_EXTENDED_ATTRIBUTES = 0x0002;
        /** Security signatures supported flag */
        int FLAGS2_SECURITY_SIGNATURES = 0x0004;
        /** Extended security negotiation flag */
        int FLAGS2_EXTENDED_SECURITY_NEGOTIATION = 0x0800;
        /** Resolve paths in DFS flag */
        int FLAGS2_RESOLVE_PATHS_IN_DFS = 0x1000;
        /** Permit read if execute permission flag */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Connection.kt

     * to a remote host. Newer TLS options are quite useful:
     *
     *  * Server Name Indication (SNI) enables one IP address to negotiate secure connections for
     *    multiple domain names.
     *
     *  * Application Layer Protocol Negotiation (ALPN) enables the HTTPS port (443) to be used to
     *    negotiate HTTP/2.
     *
     * Unfortunately, older HTTPS servers refuse to connect when such options are presented. Rather than
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

    import jakarta.servlet.http.HttpServletResponse;
    
    /**
     * SPNEGO (Security Provider Negotiation Protocol) authenticator implementation.
     *
     * This class provides Single Sign-On (SSO) authentication using the SPNEGO protocol,
     * which is commonly used for Kerberos-based authentication in Windows environments.
     * It handles the negotiation between client and server to establish a secure
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 17.8K bytes
    - Viewed (3)
  5. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

            response.getServerData().smaxMpxCount = 1;
            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() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

            // observed too that signatures on error responses are sometimes wrong??
            // Looks like the failure case also is just reflecting back the signature we sent
    
            // with SMB3's negotiation validation it's no longer possible to ignore this (on the validation response)
            // make sure that validation is performed in any case
            final Smb2SigningDigest dgst = getDigest();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java

            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
        void testNetworkInterfaceInfo() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt

     *  * If `server_max_window_bits` is less than 15, OkHttp will waste memory on an oversized buffer.
     *
     * See [RFC 7692, 7.1][rfc_7692] for details on negotiation process.
     *
     * [rfc_7692]: https://tools.ietf.org/html/rfc7692#section-7.1
     */
    @IgnoreJRERequirement // As of AGP 3.4.1, D8 desugars API 24 hashCode methods.
    data class WebSocketExtensions(
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  10. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
Back to top