Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for proxyUser (0.27 sec)

  1. platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/JavaSystemPropertiesProxySettingsTest.groovy

            expect:
            def proxy = new TestSystemProperties("proxyHost", null, user, password).getProxy()
            proxy.credentials?.username == proxyUser
            proxy.credentials?.password == proxyPassword
    
            where:
            user   | password   | proxyUser | proxyPassword
            "user" | "password" | "user"    | "password"
            "user" | ""         | "user"    | ""
            ""     | "password" | null      | null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/optimizing-performance/networking.adoc

    systemProp.http.proxyPort=8080
    systemProp.http.proxyUser=userid
    systemProp.http.proxyPassword=password
    systemProp.http.nonProxyHosts=*.nonproxyrepos.com|localhost
    ----
    ====
    
    There are separate settings for HTTPS.
    
    *Example 2:* Configuring an HTTPS proxy using `gradle.properties`:
    ====
    ----
    systemProp.https.proxyHost=www.somehost.org
    systemProp.https.proxyPort=8080
    systemProp.https.proxyUser=userid
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/HttpProxyScriptPluginIntegrationSpec.groovy

            where:
            type            | userName    | password
            "configured"    | null        | null
            "authenticated" | "proxyUser" | "proxyPassword"
        }
    
        def "uses authenticated proxy to access remote settings script plugin"() {
            given:
            testProxyServer.start("proxyUser", "proxyPassword")
    
            def settingsScriptPljugin = file('settings-script-plugin.gradle') << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  4. platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/maven/MavenS3ProxiedRepoIntegrationTest.groovy

                    "-Dhttp.proxyHost=localhost",
                    "-Dhttp.proxyPort=${proxyServer.port}",
                    "-Dhttp.nonProxyHosts=foo",
                    "-Dhttp.proxyUser=proxyUser",
                    "-Dhttp.proxyPassword=proxyPassword"
            )
    
            then:
            succeeds 'retrieve'
    
            and:
            proxyServer.port != server.port
            proxyServer.requestCount == 2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  5. platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/JavaSystemPropertiesProxySettings.java

                    getAndTrimSystemProperty(propertyPrefix + ".proxyUser"),
                    getAndTrimSystemProperty(propertyPrefix + ".proxyPassword"));
        }
    
        JavaSystemPropertiesProxySettings(String propertyPrefix, int defaultPort, String proxyHost, String proxyPortString, String proxyUser, String proxyPassword) {
            this.propertyPrefix = propertyPrefix;
            this.defaultPort = defaultPort;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  6. platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/HttpClientConfigurerTest.groovy

            when:
            configurer.configure(httpClientBuilder)
    
            then:
            def proxyCredentials = httpClientBuilder.credentialsProvider.getCredentials(new AuthScope(PROXY_HOST, SOME_PORT))
            proxyCredentials.userPrincipal.name == "domain/proxyUser"
            proxyCredentials.password == "proxyPass"
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  7. platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/wrapper/Download.java

                    String protocol = getRequestingURL().getProtocol();
                    String proxyUser = systemProperties.get(protocol + ".proxyUser");
                    if (proxyUser != null) {
                        String proxyPassword = systemProperties.get(protocol + ".proxyPassword");
                        if (proxyPassword == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy/roundtripper_test.go

    		"proxied https with auth (invalid hostname + InsecureSkipVerify) -> http": {
    			serverFunc:             httptest.NewServer,
    			proxyServerFunc:        httpsServerInvalidHostname(t),
    			proxyAuth:              url.UserPassword("proxyuser", "proxypasswd"),
    			clientTLS:              &tls.Config{InsecureSkipVerify: true},
    			serverConnectionHeader: "Upgrade",
    			serverUpgradeHeader:    "SPDY/3.1",
    			serverStatusCode:       http.StatusSwitchingProtocols,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 32.7K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/AbstractProxyResolveIntegrationTest.groovy

            failure.assertThatCause(CoreMatchers.containsString("Connection refused"))
        }
    
        def "uses authenticated proxy to access remote repository"() {
            given:
            def (proxyUserName, proxyPassword) = ['proxyUser', 'proxyPassword']
            proxyServer.start(proxyUserName, proxyPassword)
            setupServer()
    
            and:
            buildFile << """
    repositories {
        maven { url "${repoServerUrl}" }
    }
    """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  10. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperHttpIntegrationTest.groovy

            file("gradle.properties") << """
        systemProp.http.proxyHost=localhost
        systemProp.http.proxyPort=${proxyServer.port}
        systemProp.http.nonProxyHosts=
        systemProp.http.proxyUser=my_user
        systemProp.http.proxyPassword=my_password
    """
            when:
            def result = wrapperExecuter.withTasks('hello').run()
    
            then:
            assertThat(result.output, containsString('hello'))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top