Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for proxyUser (0.14 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/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)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/TestProxyServer.groovy

            configureProxyHost(executer, proxyScheme)
    
            if (userName) {
                executer.withArgument("-D${proxyScheme}.proxyUser=${userName}")
            }
            if (password) {
                executer.withArgument("-D${proxyScheme}.proxyPassword=${password}")
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java

            //    <proxy>
            //      <active>true</active>
            //      <protocol>http</protocol>
            //      <host>proxy.somewhere.com</host>
            //      <port>8080</port>
            //      <username>proxyuser</username>
            //      <password>somepassword</password>
            //      <nonProxyHosts>www.google.com|*.somewhere.com</nonProxyHosts>
            //    </proxy>
            //  </proxies>
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 19 15:04:04 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  10. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperHttpsIntegrationTest.groovy

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