Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for requiresAuthentication (0.34 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)
Back to top