Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for authentication_attempts (0.28 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/LoggingHandler.groovy

        private final Set<String> authenticationAttempts
        private final Set<Map<String, String>> allHeaders
        private final boolean logRequests
    
        LoggingHandler(Set<String> authenticationAttempts, Set<Map<String, String>> allHeaders, boolean logRequests) {
            this.logRequests = logRequests
            this.authenticationAttempts = authenticationAttempts
            this.allHeaders = allHeaders
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/repository/AuthenticatedPluginRepositorySpec.groovy

            succeeds("pluginTask")
            output.contains("from plugin")
            server.authenticationAttempts.asList() == authenticationAttempts
    
            where:
            authSchemeName     | configuredAuthentication                                                      | serverAuthScheme  | authenticationAttempts
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 7K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/AbstractHttpsRepoResolveIntegrationTest.groovy

            succeeds "libs"
    
            then:
            file('libs').assertHasDescendants('my-module-1.0.jar')
            and:
            server.authenticationAttempts.asList() == authenticationAttempts
    
            where:
            useAuth | authScheme        | authSchemeName | authenticationAttempts
            false   | null              | 'no'           | ['None']
            true    | AuthScheme.BASIC  | 'basic'        | ['None', 'Basic']
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/HttpAuthenticationDependencyResolutionIntegrationTest.groovy

            then:
            succeeds('listJars')
            and:
            server.authenticationAttempts.asList() == authenticationAttempts
    
            where:
            authSchemeName     | configuredAuthentication                                                      | authScheme        | authenticationAttempts
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 18.7K bytes
    - Viewed (0)
  5. platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheServiceIntegrationTest.groovy

            then:
            noneSkipped()
            httpBuildCacheServer.authenticationAttempts == ['Basic'] as Set
    
            expect:
            withBuildCache().run "clean"
    
            when:
            withBuildCache().run "jar"
            then:
            skipped ":compileJava"
            httpBuildCacheServer.authenticationAttempts == ['Basic'] as Set
        }
    
        def "credentials can be specified via URL"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:20 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpServerFixture.groovy

        private final SecuredHandlerCollection securityHandlerWrapper = new SecuredHandlerCollection()
    
        private boolean logRequests = true
        private boolean useHostnameForUrl = false
        private final Set<String> authenticationAttempts = new LinkedHashSet<>()
        private final Set<Map<String, String>> allHeaders = new LinkedHashSet<>()
        private boolean configured
    
        Server getServer() {
            server
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheServiceTest.groovy

            result == 'Old'
            server.authenticationAttempts == ['Basic'] as Set
    
            server.expectPut("/cache/${key.hashCode}", config.credentials.username, config.credentials.password, destFile)
    
            when:
            def content = "Data".bytes
            cache.store(key, writer(content))
            then:
            destFile.bytes == content
            server.authenticationAttempts == ['Basic'] as Set
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:15:24 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top