Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for requiresAuthentication (0.36 sec)

  1. platforms/software/resources-gcs/src/main/java/org/gradle/internal/resource/transport/gcp/gcs/GcsClient.java

            JsonFactory jsonFactory = new GsonFactory();
            Storage.Builder builder = new Storage.Builder(transport, jsonFactory, null);
            if (gcsConnectionProperties.requiresAuthentication()) {
                Supplier<Credential> credentialSupplier = getCredentialSupplier(transport, jsonFactory);
                builder.setHttpRequestInitializer(new RetryHttpInitializerWrapper(credentialSupplier));
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 11:17:20 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpServerFixture.groovy

            server.addConnector(sslConnector)
            if (server.started) {
                sslConnector.start()
            }
    
        }
    
        void requireAuthentication(String path = '/*', String username, String password) {
            securityHandlerWrapper.requireAuthentication(path, username, password)
        }
    
        int getPort() {
            return connector.localPort
        }
    
        int getSslPort() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/SecuredHandlerCollection.groovy

        }
    
        @Override
        Server getServer() {
            delegate.server
        }
    
        @Override
        void destroy() {
            delegate.destroy()
        }
    
        void requireAuthentication(String path, String username, String password) {
            if (realm != null) {
                assert realm.username == username
                assert realm.password == password
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpBuildCacheServer.groovy

            HttpServerFixture.super.start()
        }
    
        @Override
        protected void after() {
            stop()
        }
    
        void withBasicAuth(String username, String password) {
            requireAuthentication(username, password)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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