Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for requiresAuthentication (0.4 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheIvyPublishIntegrationTest.groovy

            assert !inlinedCredentials : "Inlined credentials are not supported with the configuration cache"
            with (server) {
                requireAuthentication(username, password)
                // or else insecure protocol enforcement is skipped
                useHostname()
                start()
            }
            def remoteRepo = new IvyHttpRepository(server, ivyRepo)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheMavenPublishIntegrationTest.groovy

            assert !inlinedCredentials : "Inlined credentials are not supported with the configuration cache"
            with (server) {
                requireAuthentication(username, password)
                // or else insecure protocol enforcement is skipped
                useHostname()
                start()
            }
            def remoteRepo = new MavenHttpRepository(server, mavenRepo)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpServer.groovy

                }
            }))
        }
    
        private Action withAuthentication(String path, String username, String password, Action action) {
            requireAuthentication(path, username, password)
    
            return new Action() {
                @Override
                HttpResourceInteraction getInteraction() {
                    return action.interaction
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 32.3K bytes
    - Viewed (0)
Back to top