Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for withAuthenticationSettings (0.23 sec)

  1. platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/HttpConnectorFactory.java

        public ExternalResourceConnector createResourceConnector(ResourceConnectorSpecification connectionDetails) {
            HttpClientHelper http = httpClientHelperFactory.create(DefaultHttpSettings.builder()
                .withAuthenticationSettings(connectionDetails.getAuthentications())
                .withSslContextFactory(sslContextFactory)
                .withRedirectVerifier(connectionDetails.getRedirectVerifier())
                .build()
            );
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/DeprecatedTLSVersionTest.groovy

        @Rule
        BlockingHttpsServer server = new BlockingHttpsServer()
        TestKeyStore keyStore = TestKeyStore.init(resources.dir)
        HttpSettings settings = DefaultHttpSettings.builder()
            .withAuthenticationSettings([])
            .withSslContextFactory(new DefaultSslContextFactory())
            .withRedirectVerifier({})
            .build()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  3. platforms/software/resources-http/src/integTest/groovy/org/gradle/internal/resource/transport/http/CookieHeaderTest.groovy

        ConfigureLogging logging = new ConfigureLogging(listener, LogLevel.WARN)
        SslContextFactory sslContextFactory = new DefaultSslContextFactory()
        HttpSettings settings = DefaultHttpSettings.builder()
            .withAuthenticationSettings([])
            .withSslContextFactory(sslContextFactory)
            .withRedirectVerifier({})
            .build()
        HttpClientHelper client = new HttpClientHelper(new DocumentationRegistry(), settings)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. platforms/core-execution/build-cache-http/src/main/java/org/gradle/caching/http/internal/DefaultHttpBuildCacheServiceFactory.java

            HttpRedirectVerifier redirectVerifier =
                createRedirectVerifier(noUserInfoUrl, allowInsecureProtocol);
    
            DefaultHttpSettings.Builder builder = DefaultHttpSettings.builder()
                .withAuthenticationSettings(authentications)
                .maxRedirects(MAX_REDIRECTS)
                .withRedirectMethodHandlingStrategy(HttpSettings.RedirectMethodHandlingStrategy.ALLOW_FOLLOW_FOR_MUTATIONS)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  5. platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/DefaultHttpSettings.java

            private RedirectMethodHandlingStrategy redirectMethodHandlingStrategy = RedirectMethodHandlingStrategy.ALWAYS_FOLLOW_AND_PRESERVE;
    
            public Builder withAuthenticationSettings(Collection<Authentication> authenticationSettings) {
                this.authenticationSettings = authenticationSettings;
                return this;
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  6. platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/HttpClientHelperSSLTest.groovy

            }
        }
    
        private def createClient() {
            SslContextFactory factory = new DefaultSslContextFactory()
    
            HttpSettings settings = DefaultHttpSettings.builder()
                .withAuthenticationSettings([])
                .withRedirectVerifier {}
                .withSslContextFactory(factory)
                .build()
    
            client = new HttpClientHelper(new DocumentationRegistry(), settings)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 05:29:07 UTC 2023
    - 9.7K bytes
    - Viewed (0)
Back to top