Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 584 for cloned (0.04 sec)

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

            Kerb5Authenticator cloned = auth.clone();
    
            assertNotSame(auth, cloned);
            assertEquals(subj, cloned.getSubject());
            assertEquals("alice", cloned.getUser());
            assertEquals("EXAMPLE.COM", cloned.getRealm());
            assertEquals("cifs", cloned.getService());
            assertEquals(123, cloned.getUserLifeTime());
            assertEquals(456, cloned.getLifeTime());
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java

            assertArrayEquals(originalPassword, clonedPassword, "Cloned password content should match");
    
            // Wipe original - should not affect clone
            authenticator.secureWipePassword();
    
            char[] originalAfterWipe = (char[]) passwordField.get(authenticator);
            char[] clonedAfterWipe = (char[]) passwordField.get(cloned);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

         */
        protected static void cloneInternal(NtlmPasswordAuthenticator cloned, NtlmPasswordAuthenticator toClone) {
            cloned.domain = toClone.domain;
            cloned.username = toClone.username;
            cloned.password = toClone.password != null ? toClone.password.clone() : null;
            cloned.type = toClone.type;
        }
    
        /**
         * Returns the domain.
         */
        @Override
        public String getUserDomain() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtlmNtHashAuthenticator.java

        @Override
        protected byte[] getNTHash() {
            return this.ntHash;
        }
    
        @Override
        public NtlmPasswordAuthenticator clone() {
            final NtlmNtHashAuthenticator cloned = new NtlmNtHashAuthenticator(this.ntHash.clone());
            cloneInternal(cloned, this);
            return cloned;
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

            return this.context;
        }
    
        @Override
        public NtlmPasswordAuthentication clone() {
            final NtlmPasswordAuthentication cloned = new NtlmPasswordAuthentication();
            cloneInternal(cloned, this);
            return cloned;
        }
    
        /**
         * Clone internal fields from one NtlmPasswordAuthentication to another.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

            assertEquals(original.getUsername(), cloned.getUsername());
            assertEquals(original.getPassword(), cloned.getPassword());
    
            // Verify password arrays are independent
            original.secureWipePassword();
            assertNull(original.getPassword());
            assertEquals("ClonePass123!", cloned.getPassword());
        }
    
        /**
         * Test authentication type guessing with secure password
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java

            // Cast and check we can call clone() from CredentialsInternal contract
            CredentialsInternal ci = (CredentialsInternal) impl;
            CredentialsInternal cloned = ci.clone();
            assertNotNull(cloned, "clone() should return a non-null CredentialsInternal");
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/CallKotlinTest.kt

        server.enqueue(MockResponse(body = "def"))
    
        val request = Request(server.url("/"))
    
        val call = client.newCall(request)
        val response1 = call.execute()
    
        val cloned = call.clone()
        val response2 = cloned.execute()
    
        assertThat("abc").isEqualTo(response1.body.string())
        assertThat("def").isEqualTo(response2.body.string())
      }
    
      @Test
      @Flaky
      fun testMockWebserverRequest() {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Call.kt

       * for this call will not be included on the cloned call. If necessary you may manually copy over
       * specific tags by re-computing them:
       *
       * ```kotlin
       * val copy = original.clone()
       *
       * val myTag = original.tag(MyTag::class)
       * if (myTag != null) {
       *   copy.tag(MyTag::class) { myTag }
       * }
       * ```
       *
       * ```java
       * Call copy = original.clone();
       *
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/superpom/SuperPomProvider.java

        /**
         * Gets the super POM for the specified model version. The returned model is supposed to be read-only, i.e. if the
         * caller intends to make updates to the model the return value must be cloned before updating to ensure the
         * modifications don't affect future retrievals of the super POM.
         *
         * @param version The model version to retrieve the super POM for (e.g. "4.0.0"), must not be {@code null}.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 1.6K bytes
    - Viewed (0)
Back to top