Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for TokenIssuer2 (0.15 sec)

  1. tests/common/jwt/jwt_token_test.go

    					"nested-2": map[string]any{
    						"key2": "valueC",
    					},
    				},
    				"iss": "******@****.***",
    				"sub": "sub-1",
    				"exp": 4757608018.0,
    			},
    		},
    		{
    			name:  "TokenIssuer2",
    			token: TokenIssuer2,
    			wantClaims: map[string]any{
    				"groups": []any{"group-2"},
    				"iss":    "******@****.***",
    				"sub":    "sub-2",
    				"exp":    4715782783.0,
    			},
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  2. tests/integration/security/jwt_test.go

    )
    
    // TestRequestAuthentication tests beta authn policy for jwt.
    func TestRequestAuthentication(t *testing.T) {
    	payload1 := strings.Split(jwt.TokenIssuer1, ".")[1]
    	payload2 := strings.Split(jwt.TokenIssuer2, ".")[1]
    	payload3 := strings.Split(jwt.TokenIssuer1WithNestedClaims2, ".")[1]
    	framework.NewTest(t).
    		Label(label.IPv4). // https://github.com/istio/istio/issues/35835
    		Run(func(t framework.TestContext) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  3. tests/integration/security/policy_attachment_only/jwt_gateway_test.go

    							opts.HTTP.Path = "/"
    							opts.HTTP.Headers = headers.New().
    								WithHost(fmt.Sprintf("example.%s.com", to.ServiceName())).
    								WithAuthz(jwt.TokenIssuer2).
    								Build()
    							opts.Check = check.Status(http.StatusForbidden)
    						},
    					},
    					{
    						name: "deny with expired token",
    						customizeCall: func(opts *echo.CallOptions, to echo.Target) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. tests/integration/security/authz_test.go

    							path:   "/token2",
    							allow:  false,
    						},
    						{
    							prefix: "[Token2]",
    							jwt:    jwt.TokenIssuer2,
    							path:   "/token1",
    							allow:  false,
    						},
    						{
    							prefix: "[Token2]",
    							jwt:    jwt.TokenIssuer2,
    							path:   "/token2",
    							allow:  true,
    						},
    						{
    							prefix: "[Token3]",
    							jwt:    jwt.TokenIssuer1,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  5. tests/integration/security/fuzz/fuzz_test.go

    				name      string
    				baseToken string
    			}{
    				{"TokenIssuer1", jwt.TokenIssuer1},
    				{"TokenIssuer1WithAud", jwt.TokenIssuer1WithAud},
    				{"TokenIssuer1WithAzp", jwt.TokenIssuer1WithAzp},
    				{"TokenIssuer2", jwt.TokenIssuer2},
    				{"TokenIssuer1WithNestedClaims1", jwt.TokenIssuer1WithNestedClaims1},
    				{"TokenIssuer1WithNestedClaims2", jwt.TokenIssuer1WithNestedClaims2},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  6. tests/common/jwt/jwt_token.go

    	// Generated by: security/tools/jwt/samples/gen-jwt.py tests/common/jwt/key.pem -jwks=tests/common/jwt/jwks.json
    	// --expire=3153600000 --iss=******@****.*** --sub=sub-2 --listclaim groups "group-2"
    	// nolint: lll
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. tests/integration/ambient/baseline_test.go

    			})
    
    			t.NewSubTest("deny with sub-2 token").Run(func(t framework.TestContext) {
    				opt := opt.DeepCopy()
    				opt.HTTP.Path = "/"
    				opt.HTTP.Headers = headers.New().
    					WithAuthz(jwt.TokenIssuer2).
    					Build()
    				opt.Check = check.Status(http.StatusForbidden)
    				src.CallOrFail(t, opt)
    			})
    
    			t.NewSubTest("deny with expired token").Run(func(t framework.TestContext) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
Back to top