Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 11 for password124 (0.23 seconds)

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

            // Test the method directly
            char[] password1 = "testpassword".toCharArray();
            char[] password2 = "testpassword".toCharArray();
            char[] password3 = "testpassworX".toCharArray();
    
            Boolean result1 = (Boolean) constantTimeMethod.invoke(null, password1, password2);
            Boolean result2 = (Boolean) constantTimeMethod.invoke(null, password1, password3);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/NtlmUtilTest.java

            String password14 = "ABCDEFGHIJKLMN"; // 14 chars
            String password15 = "ABCDEFGHIJKLMNO"; // 15 chars, same first 14
            byte[] challenge = hex("0102030405060708");
    
            // Act
            byte[] r14 = NtlmUtil.getPreNTLMResponse(cifsContext, password14, challenge);
            byte[] r15 = NtlmUtil.getPreNTLMResponse(cifsContext, password15, challenge);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 12K bytes
    - Click Count (1)
  3. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java

            // Verify it returns a clone, not the original
            password[0] = 'X';
            char[] password2 = authenticator.getPasswordAsCharArray();
            assertNotEquals(password[0], password2[0], "Should return a clone, not the original");
        }
    
        @Test
        public void testPasswordConstructorWithCharArray() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

            char[] password1 = "TestPass123!".toCharArray();
            char[] password2 = "TestPass123!".toCharArray();
            char[] password3 = "DifferentPass!".toCharArray();
    
            NtlmPasswordAuthenticator auth1 = new NtlmPasswordAuthenticator("DOMAIN", "user", password1);
            NtlmPasswordAuthenticator auth2 = new NtlmPasswordAuthenticator("DOMAIN", "user", password2);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 23.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/auth/chain/LdapChainTest.java

            ComponentUtil.setFessConfig(null);
            super.tearDown(testInfo);
        }
    
        @Test
        public void test_update() {
            // Test update method
            User user = createTestUser("testuser", "password123");
    
            ldapChain.update(user);
    
            assertEquals(user, testLdapManager.insertedUser);
            assertTrue(testLdapManager.insertCalled);
        }
    
        @Test
        public void test_update_withNullUser() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  6. samples/guide/src/main/java/okhttp3/recipes/kt/Authenticate.kt

                }
    
                println("Authenticating for response: $response")
                println("Challenges: ${response.challenges()}")
                val credential = Credentials.basic("jesse", "password1")
                return response.request
                  .newBuilder()
                  .header("Authorization", credential)
                  .build()
              }
            },
          ).build()
    
      fun run() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2K bytes
    - Click Count (0)
  7. samples/guide/src/main/java/okhttp3/recipes/Authenticate.java

              }
    
              System.out.println("Authenticating for response: " + response);
              System.out.println("Challenges: " + response.challenges());
              String credential = Credentials.basic("jesse", "password1");
              return response.request().newBuilder()
                  .header("Authorization", credential)
                  .build();
            })
            .build();
      }
    
      public void run() throws Exception {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Aug 12 07:26:27 GMT 2021
    - 1.9K bytes
    - Click Count (0)
  8. samples/guide/src/main/java/okhttp3/recipes/PreemptiveAuth.java

      private final OkHttpClient client;
    
      public PreemptiveAuth() {
        client = new OkHttpClient.Builder()
            .addInterceptor(
                new BasicAuthInterceptor("publicobject.com", "jesse", "password1"))
            .build();
      }
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://publicobject.com/secrets/hellosecret.txt")
            .build();
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Nov 05 07:46:46 GMT 2018
    - 2.1K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            assertEquals("errors.password_no_lowercase", systemHelper.validatePassword("PASSWORD1!"));
            assertEquals("errors.password_no_digit", systemHelper.validatePassword("Password!"));
            assertEquals("errors.password_no_special_char", systemHelper.validatePassword("Password1"));
            assertEquals("", systemHelper.validatePassword("Password1!"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 44.4K bytes
    - Click Count (0)
  10. docs/recipes.md

                  }
    
                  println("Authenticating for response: $response")
                  println("Challenges: ${response.challenges()}")
                  val credential = Credentials.basic("jesse", "password1")
                  return response.request.newBuilder()
                      .header("Authorization", credential)
                      .build()
                }
              })
              .build()
    
          fun run() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 47.8K bytes
    - Click Count (0)
Back to Top