Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 250 for Authenticators (0.33 sec)

  1. pkg/kubeapiserver/authenticator/OWNERS

    # See the OWNERS docs at https://go.k8s.io/owners
    
    approvers:
      - sig-auth-authenticators-approvers
    reviewers:
      - sig-auth-authenticators-reviewers
    labels:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 10 02:31:26 UTC 2021
    - 170 bytes
    - Viewed (0)
  2. security/pkg/server/ca/server.go

    func New(
    	ca CertificateAuthority,
    	ttl time.Duration,
    	authenticators []security.Authenticator,
    	controller multicluster.ComponentBuilder,
    ) (*Server, error) {
    	certBundle := ca.GetCAKeyCertBundle()
    	if len(certBundle.GetRootCertPem()) != 0 {
    		recordCertsExpiry(certBundle)
    	}
    
    	server := &Server{
    		Authenticators: authenticators,
    		serverCertTTL:  ttl,
    		ca:             ca,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 17:35:26 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. pilot/pkg/xds/auth.go

    // authenticate authenticates the ADS request using the configured authenticators.
    // Returns the validated principals or an error.
    // If no authenticators are configured, or if the request is on a non-secure
    // stream ( 15010 ) - returns an empty list of principals and no errors.
    func (s *DiscoveryServer) authenticate(ctx context.Context) ([]string, error) {
    	c, err := security.Authenticate(ctx, s.Authenticators)
    	if c != nil {
    		return c.Identities, nil
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. security/pkg/nodeagent/test/mock/caserver.go

    		response := &pb.IstioCertificateResponse{
    			CertChain: []string{},
    		}
    		return response, nil
    	}
    	id := []string{"client-identity"}
    	if len(s.Authenticators) > 0 {
    		caller, err := security.Authenticate(ctx, s.Authenticators)
    		if caller == nil || err != nil {
    			return nil, status.Error(codes.Unauthenticated, "request authenticate failure")
    		}
    		id = caller.Identities
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. security/pkg/server/ca/fuzz_test.go

    		ca := fuzz.Struct[mockca.FakeCA](fg)
    		ca.SignErr = caerror.NewError(caerror.CSRError, fmt.Errorf("cannot sign"))
    		server := &Server{
    			ca:             &ca,
    			Authenticators: []security.Authenticator{&mockAuthenticator{}},
    			monitoring:     newMonitoringMetrics(),
    		}
    		_, _ = server.CreateCertificate(context.Background(), &csr)
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 15 21:32:54 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/authentication/request/union/union.go

    import (
    	"net/http"
    
    	utilerrors "k8s.io/apimachinery/pkg/util/errors"
    	"k8s.io/apiserver/pkg/authentication/authenticator"
    )
    
    // unionAuthRequestHandler authenticates requests using a chain of authenticator.Requests
    type unionAuthRequestHandler struct {
    	// Handlers is a chain of request authenticators to delegate to
    	Handlers []authenticator.Request
    	// FailOnError determines whether an error returns short-circuits the chain
    	FailOnError bool
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 22 17:16:59 UTC 2018
    - 2.4K bytes
    - Viewed (0)
  7. pilot/pkg/bootstrap/server.go

    	}
    	if len(features.TrustedGatewayCIDR) > 0 {
    		authenticators = append(authenticators, &authenticate.XfccAuthenticator{})
    	}
    	if features.XDSAuth {
    		s.XDSServer.Authenticators = authenticators
    	}
    	caOpts.Authenticators = authenticators
    
    	// Start CA or RA server. This should be called after CA and Istiod certs have been created.
    	s.startCA(caOpts)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/authentication/token/union/union.go

    // The first error short-circuits the chain.
    func NewFailOnError(authTokenHandlers ...authenticator.Token) authenticator.Token {
    	if len(authTokenHandlers) == 1 {
    		return authTokenHandlers[0]
    	}
    	return &unionAuthTokenHandler{Handlers: authTokenHandlers, FailOnError: true}
    }
    
    // AuthenticateToken authenticates the token using a chain of authenticator.Token objects.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 22 17:16:59 UTC 2018
    - 2.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1alpha1/types.go

    	// other authenticators may run before or after the JWT authenticators.
    	// The specific position of JWT authenticators in relation to other
    	// authenticators is neither defined nor stable across releases.  Since
    	// each JWT authenticator must have a unique issuer URL, at most one
    	// JWT authenticator will attempt to cryptographically validate the token.
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 17:59:05 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1beta1/types.go

    	// other authenticators may run before or after the JWT authenticators.
    	// The specific position of JWT authenticators in relation to other
    	// authenticators is neither defined nor stable across releases.  Since
    	// each JWT authenticator must have a unique issuer URL, at most one
    	// JWT authenticator will attempt to cryptographically validate the token.
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 17:59:05 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top