Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 929 for authn (0.07 sec)

  1. cmd/globals.go

    	return globalAuthZPlugin
    }
    
    func setGlobalAuthNPlugin(authn *idplugin.AuthNPlugin) {
    	globalAuthPluginMutex.Lock()
    	globalAuthNPlugin = authn
    	globalAuthPluginMutex.Unlock()
    }
    
    func setGlobalAuthZPlugin(authz *polplugin.AuthZPlugin) {
    	globalAuthPluginMutex.Lock()
    	globalAuthZPlugin = authz
    	globalAuthPluginMutex.Unlock()
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. pkg/security/security.go

    	req := AuthContext{GrpcContext: ctx}
    	for _, authn := range am.Authenticators {
    		u, err := authn.Authenticate(req)
    		if u != nil && len(u.Identities) > 0 && err == nil {
    			securityLog.Debugf("Authentication successful through auth source %v", u.AuthSource)
    			return u
    		}
    		am.authFailMsgs = append(am.authFailMsgs, fmt.Sprintf("Authenticator %s: %v", authn.AuthenticatorType(), err))
    	}
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  3. cmd/kube-scheduler/app/server.go

    func buildHandlerChain(handler http.Handler, authn authenticator.Request, authz authorizer.Authorizer) http.Handler {
    	requestInfoResolver := &apirequest.RequestInfoFactory{}
    	failedHandler := genericapifilters.Unauthorized(scheme.Codecs)
    
    	handler = genericapifilters.WithAuthorization(handler, authz, scheme.Codecs)
    	handler = genericapifilters.WithAuthentication(handler, authn, failedHandler, nil, nil)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/test/integration/fixtures/server.go

    }
    
    func startDefaultServer(t servertesting.Logger, flags ...string) (func(), servertesting.TestServer, error) {
    	// create kubeconfig which will not actually be used. But authz/authn needs it to startup.
    	fakeKubeConfig, err := os.CreateTemp("", "kubeconfig")
    	if err != nil {
    		return nil, servertesting.TestServer{}, err
    	}
    	fakeKubeConfig.WriteString(`
    apiVersion: v1
    kind: Config
    clusters:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/listener_inbound.go

    		TrafficDirection:                 core.TrafficDirection_INBOUND,
    		ContinueOnListenerFiltersTimeout: true,
    	}
    
    	// Flush authz cache since we need filter state for the principal.
    	oldBuilder := lb.authzBuilder
    	lb.authzBuilder = authz.NewBuilder(authz.Local, lb.push, lb.node, true)
    	inboundChainConfigs := lb.buildInboundChainConfigs()
    	for _, cc := range inboundChainConfigs {
    		cc.hbone = true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  6. pilot/pkg/xds/filters/filters.go

    	AlpnFilterName = "istio.alpn"
    
    	MxFilterName = "istio.metadata_exchange"
    
    	// AuthnFilterName is the name for the Istio AuthN filter. This should be the same
    	// as the name defined in
    	// https://github.com/istio/proxy/blob/master/src/envoy/http/authn/http_filter_factory.cc#L30
    	AuthnFilterName = "istio_authn"
    
    	// EnvoyJwtFilterName is the name of the Envoy JWT filter.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 09 09:24:25 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  7. security/pkg/server/ca/authenticate/oidc.go

    	// If set to a different value - use the value defined by istiod.yaml. Env variable can
    	// still override
    	Aud []string `json:"aud"`
    
    	// Exp is not currently used - we don't use the token for authn, just to determine k8s settings
    	Exp int `json:"exp"`
    
    	// Issuer - configured by K8S admin for projected tokens. Will be used to verify all tokens.
    	Iss string `json:"iss"`
    
    	Sub string `json:"sub"`
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/config_test.go

    		}
    		for p := range expectedset.Difference(pathset) {
    			t.Errorf(" Expected %v path which we did not get", p)
    		}
    	})
    }
    
    func TestAuthenticationAuditAnnotationsDefaultChain(t *testing.T) {
    	authn := authenticator.RequestFunc(func(req *http.Request) (*authenticator.Response, bool, error) {
    		// confirm that we can set an audit annotation in a handler before WithAudit
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_test.go

    		want                          string
    		wantCELMapper                 bool
    		wantUsesEmailVerifiedClaim    bool
    	}{
    		{
    			name:                          "claim and expression are empty, structured authn feature enabled",
    			in:                            []api.ClaimValidationRule{{}},
    			structuredAuthnFeatureEnabled: true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/listener_test.go

    		httpFilters := []string{
    			xdsfilters.MxFilterName,
    			// Ext auth makes 2 filters
    			wellknown.HTTPRoleBasedAccessControl,
    			wellknown.HTTPExternalAuthorization,
    			"extenstions.istio.io/wasmplugin/istio-system.wasm-authn",
    			"extenstions.istio.io/wasmplugin/istio-system.wasm-authz",
    			wellknown.HTTPRoleBasedAccessControl,
    			"extenstions.istio.io/wasmplugin/istio-system.wasm-stats",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
Back to top