- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for withAuthentication (0.25 sec)
-
staging/src/k8s.io/apiserver/pkg/endpoints/filters/authentication_test.go
respAuds: []string{"some"}, expectSuccess: false, }, } for _, tc := range testcases { t.Run(tc.name, func(t *testing.T) { success, failed = 0, 0 auth := WithAuthentication( http.HandlerFunc(func(_ http.ResponseWriter, req *http.Request) { if tc.expectSuccess { success = 1 } else { t.Errorf("unexpected call to handler") } }),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 20.5K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpServer.groovy
allow(path, false, ['PUT'], withAuthentication(path, username, password, new ActionSupport("return 500") { void handle(HttpServletRequest request, HttpServletResponse response) { response.sendError(500, "unexpected username '${request.remoteUser}'") } })) } private Action withAuthentication(String path, String username, String password, Action action) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 32.3K bytes - Viewed (0) -
cmd/kube-scheduler/app/server.go
failedHandler := genericapifilters.Unauthorized(scheme.Codecs) handler = genericapifilters.WithAuthorization(handler, authz, scheme.Codecs) handler = genericapifilters.WithAuthentication(handler, authn, failedHandler, nil, nil) handler = genericapifilters.WithRequestInfo(handler, requestInfoResolver) handler = genericapifilters.WithCacheControl(handler) handler = genericfilters.WithHTTPLogging(handler)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 19:11:24 UTC 2024 - 14.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/config.go
failedHandler = filterlatency.TrackCompleted(failedHandler) handler = filterlatency.TrackCompleted(handler) handler = genericapifilters.WithAuthentication(handler, c.Authentication.Authenticator, failedHandler, c.Authentication.APIAudiences, c.Authentication.RequestHeaderConfig) handler = filterlatency.TrackStarted(handler, c.TracerProvider, "authentication")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 47.7K bytes - Viewed (0)