- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for UsernameHeaders (0.12 sec)
-
staging/src/k8s.io/apiserver/pkg/authentication/request/headerrequest/requestheader_controller_test.go
func validateExpectedHeaders(t *testing.T, target *RequestHeaderAuthRequestController, expected expectedHeadersHolder) { if !equality.Semantic.DeepEqual(target.UsernameHeaders(), expected.usernameHeaders) { t.Fatalf("incorrect usernameHeaders, got %v, wanted %v", target.UsernameHeaders(), expected.usernameHeaders) } if !equality.Semantic.DeepEqual(target.GroupHeaders(), expected.groupHeaders) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 07 14:37:01 UTC 2022 - 9.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/filters/authentication.go
req.Header, standardRequestHeaderConfig.UsernameHeaders, standardRequestHeaderConfig.GroupHeaders, standardRequestHeaderConfig.ExtraHeaderPrefixes, ) // also delete any custom front proxy headers if requestHeaderConfig != nil { headerrequest.ClearAuthenticationHeaders( req.Header, requestHeaderConfig.UsernameHeaders, requestHeaderConfig.GroupHeaders,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 12 20:54:07 UTC 2023 - 6.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/authentication_test.go
testOptions *RequestHeaderAuthenticationOptions expectConfig *authenticatorfactory.RequestHeaderConfig }{ { name: "test when ClientCAFile is nil", testOptions: &RequestHeaderAuthenticationOptions{ UsernameHeaders: headerrequest.StaticStringSlice{"x-remote-user"}, GroupHeaders: headerrequest.StaticStringSlice{"x-remote-group"}, ExtraHeaderPrefixes: headerrequest.StaticStringSlice{"x-remote-extra-"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 23 15:01:56 UTC 2019 - 6.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/authentication.go
// before trusting usernames in headers. ClientCAFile string UsernameHeaders []string GroupHeaders []string ExtraHeaderPrefixes []string AllowedNames []string } func (s *RequestHeaderAuthenticationOptions) Validate() []error { allErrors := []error{} if err := checkForWhiteSpaceOnly("requestheader-username-headers", s.UsernameHeaders...); err != nil { allErrors = append(allErrors, err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 21 14:51:22 UTC 2023 - 19.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/authenticatorfactory/requestheader.go
"k8s.io/apiserver/pkg/authentication/request/headerrequest" "k8s.io/apiserver/pkg/server/dynamiccertificates" ) type RequestHeaderConfig struct { // UsernameHeaders are the headers to check (in order, case-insensitively) for an identity. The first header with a value wins. UsernameHeaders headerrequest.StringSliceProvider // GroupHeaders are the headers to check (case-insensitively) for a group names. All values will be used.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 12 18:29:15 UTC 2021 - 1.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/request/headerrequest/requestheader_controller.go
type RequestHeaderAuthRequestProvider interface { UsernameHeaders() []string GroupHeaders() []string ExtraHeaderPrefixes() []string AllowedClientNames() []string } var _ RequestHeaderAuthRequestProvider = &RequestHeaderAuthRequestController{} type requestHeaderBundle struct { UsernameHeaders []string GroupHeaders []string ExtraHeaderPrefixes []string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 10.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/authenticatorfactory/delegating.go
requestHeaderAuthenticator := headerrequest.NewDynamicVerifyOptionsSecure( c.RequestHeaderConfig.CAContentProvider.VerifyOptions, c.RequestHeaderConfig.AllowedClientNames, c.RequestHeaderConfig.UsernameHeaders, c.RequestHeaderConfig.GroupHeaders, c.RequestHeaderConfig.ExtraHeaderPrefixes, ) authenticators = append(authenticators, requestHeaderAuthenticator) } // x509 client cert auth
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 29 07:49:14 UTC 2021 - 5.1K bytes - Viewed (0) -
cmd/kube-scheduler/app/options/options_test.go
CacheTTL: 10 * time.Second, ClientCert: apiserveroptions.ClientCertAuthenticationOptions{}, RequestHeader: apiserveroptions.RequestHeaderAuthenticationOptions{ UsernameHeaders: []string{"x-remote-user"}, GroupHeaders: []string{"x-remote-group"}, ExtraHeaderPrefixes: []string{"x-remote-extra-"}, }, RemoteKubeConfigFileOptional: true, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 13 07:42:19 UTC 2023 - 30.3K bytes - Viewed (0) -
pkg/kubeapiserver/options/authentication_test.go
SigningAlgs: []string{"RS256"}, IssuerURL: "https://testIssuerURL", ClientID: "testClientID", }, RequestHeader: &apiserveroptions.RequestHeaderAuthenticationOptions{ UsernameHeaders: []string{"x-remote-user"}, GroupHeaders: []string{"x-remote-group"}, ExtraHeaderPrefixes: []string{"x-remote-extra-"}, ClientCAFile: "testdata/root.pem",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 36.5K bytes - Viewed (0) -
pkg/kubeapiserver/authenticator/config.go
requestHeaderAuthenticator := headerrequest.NewDynamicVerifyOptionsSecure( config.RequestHeaderConfig.CAContentProvider.VerifyOptions, config.RequestHeaderConfig.AllowedClientNames, config.RequestHeaderConfig.UsernameHeaders, config.RequestHeaderConfig.GroupHeaders, config.RequestHeaderConfig.ExtraHeaderPrefixes, )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 09 19:29:33 UTC 2024 - 15.4K bytes - Viewed (0)