Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for claims0 (0.12 sec)

  1. tests/integration/pilot/common/routing.go

        outputClaimToHeaders:
        - header: "x-jwt-nested-key"
          claim: "nested.nested-2.key2"
        - header: "x-jwt-iss"
          claim: "iss"
        - header: "x-jwt-wrong-header"
          claim: "wrong_claim"
    ---
    `
    	matchers := []match.Matcher{match.And(
    		// No waypoint here, these are all via ingress which doesn't forward to waypoint
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
  2. pkg/controller/statefulset/stateful_set_control_test.go

    		if !podInOrdinalRange(pod, set) {
    			if !hasOwnerRef(claim, pod) || hasOwnerRef(claim, set) {
    				return fmt.Errorf("condemned claim %s has bad owner refs: %v", claim.Name, claim.GetOwnerReferences())
    			}
    		} else {
    			if hasOwnerRef(claim, pod) || !hasOwnerRef(claim, set) {
    				return fmt.Errorf("live claim %s has bad owner refs: %v", claim.Name, claim.GetOwnerReferences())
    			}
    		}
    	}
    	return nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 19:01:47 UTC 2024
    - 108.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc_test.go

    		}
    		return
    	}
    
    	claims := struct{}{}
    	if err := json.Unmarshal([]byte(c.claims), &claims); err != nil {
    		t.Fatalf("failed to unmarshal claims: %v", err)
    	}
    
    	// Sign and serialize the claims in a JWT.
    	jws, err := signer.Sign([]byte(c.claims))
    	if err != nil {
    		t.Fatalf("sign claims: %v", err)
    	}
    	token, err := jws.CompactSerialize()
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 97.7K bytes
    - Viewed (0)
  4. pkg/api/pod/util_test.go

    			description: "no old pod/ new with claims / disabled",
    			oldPod:      noPod,
    			newPod:      podWithClaims,
    			wantPod:     podWithoutClaims,
    		},
    
    		{
    			description: "old with claims / new without claims / disabled",
    			oldPod:      podWithClaims,
    			newPod:      podWithoutClaims,
    			wantPod:     podWithoutClaims,
    		},
    		{
    			description: "old without claims / new without claims / disabled",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  5. istioctl/pkg/authz/testdata/configdump.yaml

                              "metadata": {
                               "filter": "istio_authn",
                               "path": [
                                {
                                 "key": "request.auth.claims"
                                },
                                {
                                 "key": "iss"
                                }
                               ],
                               "value": {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 21 14:20:23 UTC 2023
    - 206.7K bytes
    - Viewed (1)
  6. cmd/site-replication.go

    	}
    
    	// Verify the session token of the stsCred
    	claims, err := auth.ExtractClaims(stsCred.SessionToken, secretKey)
    	if err != nil {
    		return fmt.Errorf("STS credential could not be verified: %w", err)
    	}
    
    	mapClaims := claims.Map()
    	expiry, err := auth.ExpToInt64(mapClaims["exp"])
    	if err != nil {
    		return fmt.Errorf("Expiry claim was not found: %v: %w", mapClaims, err)
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
  7. cmd/admin-handlers.go

    			Action:          policy.GetObjectAction,
    			BucketName:      bucketName,
    			ConditionValues: getConditionValues(r, "", cred),
    			IsOwner:         owner,
    			ObjectName:      "",
    			Claims:          cred.Claims,
    		}) {
    			rd = true
    		}
    
    		if globalIAMSys.IsAllowed(policy.Args{
    			AccountName:     cred.AccessKey,
    			Groups:          cred.Groups,
    			Action:          policy.PutObjectAction,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  8. pkg/config/validation/validation_test.go

    								Values:    []string{"source.principal1"},
    								NotValues: []string{"source.principal2"},
    							},
    							{
    								Key:       "request.auth.claims[a]",
    								Values:    []string{"claims1"},
    								NotValues: []string{"claims2"},
    							},
    						},
    					},
    				},
    			},
    			valid: false,
    		},
    		{
    			name: "provider-wrong-action",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
  9. pkg/config/validation/validation.go

    	}
    	return nil
    }
    
    // ValidateHTTPHeaderNameOrJwtClaimRoute validates a header name, allowing special @request.auth.claims syntax
    func ValidateHTTPHeaderNameOrJwtClaimRoute(name string) error {
    	if name == "" {
    		return fmt.Errorf("header name cannot be empty")
    	}
    	if jwt.ToRoutingClaim(name).Match {
    		// Jwt claim form
    		return nil
    	}
    	// Else ensure its a valid header
    	if !validHeaderRegex.MatchString(name) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  10. pkg/apis/core/zz_generated.deepcopy.go

    		in, out := &in.Requests, &out.Requests
    		*out = make(ResourceList, len(*in))
    		for key, val := range *in {
    			(*out)[key] = val.DeepCopy()
    		}
    	}
    	if in.Claims != nil {
    		in, out := &in.Claims, &out.Claims
    		*out = make([]ResourceClaim, len(*in))
    		copy(*out, *in)
    	}
    	return
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.5K bytes
    - Viewed (0)
Back to top