Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for mypassword1 (0.09 sec)

  1. cmd/signature-v4-utils_test.go

    	_, _, s3Err = checkKeyValid(req, "does-not-exist")
    	if s3Err != ErrInvalidAccessKeyID {
    		t.Fatalf("Expected error 'ErrInvalidAccessKeyID', found %v", s3Err)
    	}
    
    	ucreds, err := auth.CreateCredentials("myuser1", "mypassword1")
    	if err != nil {
    		t.Fatalf("unable create credential, %s", err)
    	}
    
    	_, err = globalIAMSys.CreateUser(ctx, ucreds.AccessKey, madmin.AddOrUpdateUserReq{
    		SecretKey: ucreds.SecretKey,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  2. cmd/auth-handler_test.go

    	}{
    		{"", "", ErrInvalidAccessKeyID},
    		{"admin", "", ErrSignatureDoesNotMatch},
    		{"admin", "wrongpassword", ErrSignatureDoesNotMatch},
    		{"wronguser", "mypassword", ErrInvalidAccessKeyID},
    		{"", "mypassword", ErrInvalidAccessKeyID},
    		{"admin", "mypassword", ErrNone},
    	}
    
    	for i, testCase := range testCases {
    		req := mustNewRequest(http.MethodGet, "http://localhost:9000/", 0, nil, t)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  3. 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);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  4. 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() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

         */
        @Test
        public void testEqualsWithSecurePassword() {
            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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/NtlmUtilTest.java

        @DisplayName("getNTHash: verify different passwords produce different hashes")
        void testGetNTHash_differentPasswords() {
            // Arrange
            String password1 = "password";
            String password2 = "Password";
    
            // Act
            byte[] hash1 = NtlmUtil.getNTHash(password1);
            byte[] hash2 = NtlmUtil.getNTHash(password2);
    
            // Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (0)
  7. 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() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

          MockResponse
            .Builder()
            .inTunnel()
            .build(),
        )
        server.enqueue(MockResponse(body = "encrypted response from the origin server"))
        val credential = basic("jesse", "password1")
        client =
          client
            .newBuilder()
            .sslSocketFactory(
              handshakeCertificates.sslSocketFactory(),
              handshakeCertificates.trustManager,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
Back to top