Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 195 for beraber (0.14 sec)

  1. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

          MockResponse(
            code = 401,
            headers = headersOf("WWW-Authenticate", "Bearer realm=\"oauthed\""),
            body = "Please authenticate.",
          ),
        )
        server.enqueue(
          MockResponse(body = "A"),
        )
        val authenticator = RecordingOkAuthenticator("oauthed abc123", "Bearer")
        client =
          client.newBuilder()
            .authenticator(authenticator)
            .build()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                }
            }
            final HttpServletResponse response = LaResponseUtil.getResponse();
            if (t instanceof final InvalidAccessTokenException e) {
                response.setHeader("WWW-Authenticate", "Bearer error=\"" + e.getType() + "\"");
                writeJsonResponse(HttpServletResponse.SC_UNAUTHORIZED, message);
            } else {
                writeJsonResponse(status, message);
            }
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 02:17:23 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  3. pkg/config/validation/validation_test.go

    				JwtRules: []*security_beta.JWTRule{
    					{
    						Issuer:  "foo.com",
    						JwksUri: "https://foo.com",
    						FromHeaders: []*security_beta.JWTHeader{
    							{
    								Name:   "",
    								Prefix: "Bearer ",
    							},
    						},
    					},
    				},
    			},
    			valid: false,
    		},
    		{
    			name:       "bad param location",
    			configName: constants.DefaultAuthenticationPolicyName,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/route/route_test.go

    		xdstest.ValidateRoutes(t, routes)
    		g.Expect(err).NotTo(HaveOccurred())
    		g.Expect(len(routes)).To(Equal(1))
    		g.Expect(routes[0].GetMatch().GetHeaders()[0].GetStringMatch().GetSafeRegex().GetRegex()).To(Equal("Bearer .+?\\..+?\\..+?"))
    	})
    
    	t.Run("for virtual service with regex matching on without_header", func(t *testing.T) {
    		g := NewWithT(t)
    		cg := core.NewConfigGenTest(t, core.TestOptions{})
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
  5. pkg/controller/deployment/util/deployment_util.go

    	}
    
    	return deployments, nil
    }
    
    // ReplicaSetsByRevision sorts a list of ReplicaSet by revision, using their creation timestamp or name as a tie breaker.
    // By using the creation timestamp, this sorts from old to new replica sets.
    type ReplicaSetsByRevision []*apps.ReplicaSet
    
    func (o ReplicaSetsByRevision) Len() int      { return len(o) }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 07:09:11 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  6. cluster/gce/gci/configure.sh

              else
                echo "Cannot get a service account token. Exiting."
                exit 1
              fi
    
              curl_headers=${access_token:+Authorization: Bearer "${access_token}"}
            fi
          fi
          if ! curl ${curl_headers:+-H "${curl_headers}"} -f --ipv4 -Lo "${file}" --connect-timeout 20 --max-time 300 --retry 6 --retry-delay 10 --retry-connrefused "${url}"; then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 04:14:02 UTC 2024
    - 36.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc_test.go

    				t.Errorf("no claims specified in response")
    			}
    			claim := r.URL.Path[1:] // "/groups" -> "groups"
    			expectedAuth := fmt.Sprintf("Bearer %v_token", claim)
    			auth := r.Header.Get("Authorization")
    			if auth != expectedAuth {
    				t.Errorf("bearer token expected: %q, was %q", expectedAuth, auth)
    			}
    			jws, err := signer.Sign([]byte(claimToResponseMap[claim]))
    			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)
  8. CHANGELOG/CHANGELOG-1.8.md

    * Websocket requests may now authenticate to the API server by passing a bearer token in a websocket subprotocol of the form `base64url.bearer.authorization.k8s.io.<base64url-encoded-bearer-token>`. ([#47740](https://github.com/kubernetes/kubernetes/pull/47740), [@liggitt](https://github.com/liggitt))
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 312.2K bytes
    - Viewed (0)
  9. pkg/kube/client.go

    	// DeleteYAMLFilesDryRun performs a dry run for deleting the resources in the given YAML files.
    	DeleteYAMLFilesDryRun(namespace string, yamlFiles ...string) error
    
    	// CreatePerRPCCredentials creates a gRPC bearer token provider that can create (and renew!) Istio tokens
    	CreatePerRPCCredentials(ctx context.Context, tokenNamespace, tokenServiceAccount string, audiences []string,
    		expirationSeconds int64) (credentials.PerRPCCredentials, error)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 39K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/server/config.go

    	}
    	return host, port, nil
    }
    
    // AuthorizeClientBearerToken wraps the authenticator and authorizer in loopback authentication logic
    // if the loopback client config is specified AND it has a bearer token. Note that if either authn or
    // authz is nil, this function won't add a token authenticator or authorizer.
    func AuthorizeClientBearerToken(loopback *restclient.Config, authn *AuthenticationInfo, authz *AuthorizationInfo) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 47.7K bytes
    - Viewed (0)
Back to top