Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for authentication_attempts (0.43 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/filters/metrics_test.go

    				authenticated_user_requests{username="admin"} 1
            # HELP authentication_attempts [ALPHA] Counter of authenticated attempts.
            # TYPE authentication_attempts counter
            authentication_attempts{result="success"} 1
    				`,
    		},
    		{
    			desc: "auth failed with error",
    			err:  errors.New("some error"),
    			want: `
            # HELP authentication_attempts [ALPHA] Counter of authenticated attempts.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 20 13:35:55 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/filters/metrics.go

    			StabilityLevel: metrics.ALPHA,
    		},
    		[]string{"username"},
    	)
    
    	authenticatedAttemptsCounter = metrics.NewCounterVec(
    		&metrics.CounterOpts{
    			Name:           "authentication_attempts",
    			Help:           "Counter of authenticated attempts.",
    			StabilityLevel: metrics.ALPHA,
    		},
    		[]string{"result"},
    	)
    
    	authenticationLatency = metrics.NewHistogramVec(
    		&metrics.HistogramOpts{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 20 13:35:55 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. CHANGELOG/CHANGELOG-1.16.md

    - Added metrics `authentication_attempts` that can be used to understand the attempts of authentication. ([#81509](https://github.com/kubernetes/kubernetes/pull/81509), [@RainbowMango](https://github.com/RainbowMango))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 11 10:00:57 UTC 2021
    - 345.2K bytes
    - Viewed (0)
Back to top