Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for authScheme (0.43 sec)

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

    import javax.servlet.http.HttpServletResponse
    
    enum AuthScheme {
        BASIC(new BasicAuthHandler()),
        DIGEST(new DigestAuthHandler()),
        HIDE_UNAUTHORIZED(new HideUnauthorizedBasicAuthHandler()),
        NTLM(new NtlmAuthHandler()),
        HEADER(new HttpHeaderAuthHandler())
    
        final AuthSchemeHandler handler
    
        AuthScheme(AuthSchemeHandler handler) {
            this.handler = handler
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/HttpAuthenticationDependencyResolutionIntegrationTest.groovy

    import org.gradle.test.fixtures.server.http.AuthScheme
    import org.gradle.test.fixtures.server.http.HttpServer
    import org.hamcrest.CoreMatchers
    import spock.lang.Issue
    
    import static org.gradle.test.fixtures.server.http.AuthScheme.BASIC
    import static org.gradle.test.fixtures.server.http.AuthScheme.DIGEST
    import static org.gradle.test.fixtures.server.http.AuthScheme.HEADER
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 18.7K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/impl/AuthenticationImpl.java

         *
         * @see org.codelibs.fess.crawler.client.http.Authentication#getAuthScheme()
         */
        @Override
        public AuthScheme getAuthScheme() {
            return authScheme;
        }
    
        public void setAuthScheme(final AuthScheme authScheme) {
            this.authScheme = authScheme;
        }
    
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/HttpClientConfigurer.java

            }
        }
    
        static class PreemptiveAuth implements HttpRequestInterceptor {
            private final AuthScheme authScheme;
            private final boolean alwaysSendAuth;
    
            PreemptiveAuth(AuthScheme authScheme, boolean alwaysSendAuth) {
                this.authScheme = authScheme;
                this.alwaysSendAuth = alwaysSendAuth;
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  5. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishHttpIntegTest.groovy

            where:
            authScheme << [AuthScheme.BASIC, AuthScheme.DIGEST, AuthScheme.NTLM]
        }
    
        def "reports failure when required credentials are not provided #authScheme"() {
            given:
            buildFile << publicationBuildWithoutCredentials(version, group, mavenRemoteRepo.uri)
            server.authenticationScheme = authScheme
            module.artifact.expectPut(401)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  6. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishHttpIntegTest.groovy

            where:
            authScheme        | credsName | creds
            AuthScheme.BASIC  | 'empty'   | null
            AuthScheme.DIGEST | 'empty'   | null
            AuthScheme.NTLM   | 'empty'   | null
            AuthScheme.BASIC  | 'bad'     | BAD_CREDENTIALS
            AuthScheme.DIGEST | 'bad'     | BAD_CREDENTIALS
            AuthScheme.NTLM   | 'bad'     | BAD_CREDENTIALS
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 21.8K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/AbstractHttpsRepoResolveIntegrationTest.groovy

            where:
            useAuth | authScheme        | authSchemeName | authenticationAttempts
            false   | null              | 'no'           | ['None']
            true    | AuthScheme.BASIC  | 'basic'        | ['None', 'Basic']
            true    | AuthScheme.DIGEST | 'digest'       | ['None', 'Digest']
            true    | AuthScheme.NTLM   | 'ntlm'         | ['None', 'NTLM']
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  8. platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/HttpHeaderSchemeFactory.java

            super();
        }
    
        public HttpHeaderSchemeFactory() {
            this(null);
        }
    
        @Override
        public AuthScheme newInstance(final org.apache.http.params.HttpParams params) {
            return new HttpHeaderAuthScheme();
        }
    
        @Override
        public AuthScheme create(final HttpContext context) {
            return new HttpHeaderAuthScheme();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/AbstractProxyResolveIntegrationTest.groovy

            // authentication
            // pom and jar requests
            proxyServer.requestCount == (tunnel ? 1 : requestCount)
    
            where:
            authScheme        | requestCount
            AuthScheme.BASIC  | 3
            AuthScheme.DIGEST | 3
            AuthScheme.NTLM   | 4
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/ntlm/NTLMSchemeProvider.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.client.http.ntlm;
    
    import org.apache.http.auth.AuthScheme;
    import org.apache.http.auth.AuthSchemeProvider;
    import org.apache.http.impl.auth.NTLMScheme;
    import org.apache.http.protocol.HttpContext;
    
    /**
     * This class is AuthSchemeFactory implementation for NTLM.
     *
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top