Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 301 for authn (0.25 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/config.go

    // authz is nil, this function won't add a token authenticator or authorizer.
    func AuthorizeClientBearerToken(loopback *restclient.Config, authn *AuthenticationInfo, authz *AuthorizationInfo) {
    	if loopback == nil || len(loopback.BearerToken) == 0 {
    		return
    	}
    	if authn == nil || authz == nil {
    		// prevent nil pointer panic
    		return
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 47.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc.go

    		}
    	}
    
    	authn := &jwtAuthenticator{
    		jwtAuthenticator: opts.JWTAuthenticator,
    		resolver:         resolver,
    		celMapper:        celMapper,
    		requiredClaims:   requiredClaims,
    	}
    	authn.healthCheck.Store(&errorHolder{
    		err: fmt.Errorf("oidc: authenticator for issuer %q is not initialized", authn.jwtAuthenticator.Issuer.URL),
    	})
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 19:29:33 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  3. internal/config/identity/plugin/config.go

    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v3/env"
    	xnet "github.com/minio/pkg/v3/net"
    )
    
    func authNLogIf(ctx context.Context, err error) {
    	logger.LogIf(ctx, "authN", err)
    }
    
    // Authentication Plugin config and env variables
    const (
    	URL        = "url"
    	AuthToken  = "auth_token"
    	RolePolicy = "role_policy"
    	RoleID     = "role_id"
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/listener_waypoint.go

    		authzCustomBuilder = authz.NewBuilderForService(authz.Custom, lb.push, lb.node, true, svc)
    	}
    
    	// TODO: consider dedicated listener class for waypoint filters
    	cls := istionetworking.ListenerClassSidecarInbound
    	wasm := lb.push.WasmPluginsByListenerInfo(lb.node, model.WasmPluginListenerInfo{
    		Class:   cls,
    		Service: svc,
    	}, model.WasmPluginTypeHTTP)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  5. pkg/wasm/imagefetcher_test.go

    	dockerjson := fmt.Sprintf(`{"auths": {"test.io": {"auth": %q}}}`, encode("foo", "bar"))
    	keyChain := wasmKeyChain{data: []byte(dockerjson)}
    	testRegistry, _ := name.NewRegistry("test.io", name.WeakValidation)
    	keyChain.Resolve(testRegistry)
    	auth, err := keyChain.Resolve(testRegistry)
    	if err != nil {
    		t.Fatalf("Resolve() = %v", err)
    	}
    	got, err := auth.Authorization()
    	if err != nil {
    		t.Fatal(err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Feb 05 04:15:17 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top