Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for enforced (0.04 sec)

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

        @Test
        @DisplayName("Signing enforced/optional adhere to flags and negotiation")
        void signingModes() throws Exception {
            // Enforced via constructor flag -> optional false, enforced true regardless of negotiation
            SmbTransportImpl enforced = new SmbTransportImpl(ctx, address, 445, null, 0, true);
            assertFalse(enforced.isSigningOptional());
            assertTrue(enforced.isSigningEnforced());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                            // if signing is not enforced, dont use connections that have signing enforced
                            // for purposes that dont require it.
                            if (log.isTraceEnabled()) {
                                log.debug("Cannot reuse, signing enforced on connection " + conn);
                            }
                            continue;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

        }
    
        @Test
        @DisplayName("Should create new connection when force signing differs")
        void testNoReuseWithDifferentSigning() throws Exception {
            // 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);
    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. src/test/java/jcifs/smb/SmbSessionImplTest.java

            assertFalse(session.isSignatureSetupRequired());
    
            // Case 2: no digest, signing enforced by transport -> true
            setField(session, "digest", null);
            when(transport.isSigningEnforced()).thenReturn(true);
            assertTrue(session.isSignatureSetupRequired());
    
            // Case 3: not enforced, rely on negotiate response flag
            when(transport.isSigningEnforced()).thenReturn(false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/config/DelegatingConfigurationTest.java

            assertFalse(signingPreferred, "Should delegate signing preferred setting");
            assertTrue(signingEnforced, "Should delegate signing enforced setting");
            assertTrue(ipcSigningEnforced, "Should delegate IPC signing enforced setting");
            assertTrue(firstExtendedSecurityCall, "First call should return true");
            assertFalse(secondExtendedSecurityCall, "Second call should return false");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbTransportInternalTest.java

            verify(transport).getDfsReferrals(eq(ctx), isNull(), eq("h"), eq("d"), eq(1));
        }
    
        // Signing modes: optional vs enforced
        @Test
        @DisplayName("isSigningOptional and isSigningEnforced reflect configuration")
        void signingModes() throws Exception {
            when(transport.isSigningOptional()).thenReturn(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/math/PairedStats.java

       *
       * <p>To ensure that the created instance obeys its contract, the parameters should satisfy the
       * following constraints. This is the callers responsibility and is not enforced here.
       *
       * <ul>
       *   <li>Both {@code xStats} and {@code yStats} must have the same {@code count}.
       *   <li>If that {@code count} is 1, {@code sumOfProductsOfDeltas} must be exactly 0.0.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTreeImpl.java

                    && !sess.getCredentials().isAnonymous() && sess.getDigest() == null) {
                throw new SmbException("IPC signing is enforced, but no signing is available");
            }
    
            this.service = rsvc;
            this.inDfs = response.isShareDfs();
            this.treeNum = TREE_CONN_COUNTER.incrementAndGet();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt

     *
     *  * **Exactly one subdomain**: Use a single asterisk like `*.publicobject.com` to match exactly
     *    one prefix (`www.publicobject.com`, `api.publicobject.com`). Be careful with this approach as
     *    no pinning will be enforced if additional prefixes are present, or if no prefixes are present.
     *
     * Note that any other form is unsupported. You may not use asterisks in any position other than
     * the leftmost label.
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt

        withLock {
          if (this.errorCode == null) {
            this.errorCode = errorCode
            notifyAll()
          }
        }
      }
    
      /**
       * Returns true if read timeouts should be enforced while reading response headers or body bytes.
       * We always do timeouts in the HTTP server role. For clients, we only do timeouts after the
       * request is transmitted. This is only interesting for duplex calls where the request and
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 22.4K bytes
    - Viewed (0)
Back to top