Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for myPassword (0.24 sec)

  1. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/support/RepositoryDslSupport.groovy

            """
            repositories {
                maven {
                    url "${url}"
                    credentials(PasswordCredentials) {
                        username "myUsername"
                        password "myPassword"
                    }
                }
            }
            """
        }
    
        def awsCredentials() {
            """
            repositories {
                maven {
                    url "${s3Url}"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/AbstractAuthenticationSupportedRepositoryTest.groovy

                    credentials.password = "myPassword"
                }
            }
    
            when:
            repo.credentials(configAction)
    
            then:
            repo.getCredentials(PasswordCredentials.class)
            repo.getCredentials(PasswordCredentials.class).username == 'myUsername'
            repo.getCredentials(PasswordCredentials.class).password == 'myPassword'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/GroovyInteroperability.kt

     *   authentication(userName: "me", password: "myPassword")
     * }
     * ```
     *
     * Can be mechanically translated to the following Kotlin with the aid of `withGroovyBuilder`:
     *
     * ```Kotlin
     * withGroovyBuilder {
     *   "repository"("url" to "scp://repos.mycompany.com/releases") {
     *     "authentication"("userName" to "me", "password" to "myPassword")
     *   }
     * }
     * ```
     *
     * @see [withGroovyBuilder]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  5. internal/auth/credentials_test.go

    		{cred, Credentials{AccessKey: "myuser", SecretKey: cred.SecretKey}, false},
    		// Secret key is different in credentials to compare.
    		{cred, Credentials{AccessKey: cred.AccessKey, SecretKey: "mypassword"}, false},
    	}
    
    	for i, testCase := range testCases {
    		result := testCase.cred.Equal(testCase.ccred)
    		if result != testCase.expectedResult {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Mar 01 21:09:42 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/authoring-builds/build_environment.adoc

    systemProp.gradle.wrapperUser=myuser
    systemProp.gradle.wrapperPassword=mypassword
    ----
    
    === System properties reference
    
    For a quick reference, the following are _common_ system properties:
    
    `gradle.wrapperUser=(myuser)`:: Specify username to download Gradle distributions <<gradle_wrapper.adoc#sec:authenticated_download,from servers using HTTP Basic Authentication>>.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  7. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperHttpsIntegrationTest.groovy

            proxyServer.requestCount == 2
        }
    
        @Issue('https://github.com/gradle/gradle/issues/5052')
        def "downloads wrapper via authenticated proxy"() {
            given:
            proxyServer.start('my_user', 'my_password')
    
            and:
            server.expect(server.head("/$TEST_DISTRIBUTION_URL"))
            prepareWrapper(getAuthenticatedBaseUrl())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperHttpIntegrationTest.groovy

            and:
            proxyServer.requestCount == 1
        }
    
        def "downloads wrapper via authenticated proxy"() {
            given:
            proxyServer.start('my_user', 'my_password')
    
            and:
            server.expect(server.head("/$TEST_DISTRIBUTION_URL"))
            prepareWrapper(server.uri.toString())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 05 21:26:41 UTC 2024
    - 14.3K bytes
    - Viewed (0)
Back to top