Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 171 for Authorize (0.27 sec)

  1. staging/src/k8s.io/api/authorization/v1beta1/types.go

    	// encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.
    	Incomplete bool `json:"incomplete" protobuf:"bytes,3,rep,name=incomplete"`
    	// EvaluationError can appear in combination with Rules. It indicates an error occurred during
    	// rule evaluation, such as an authorizer that doesn't support rule evaluation, and that
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:26 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/security/simple-oauth2.md

    ## See it in action
    
    Open the interactive docs: <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>.
    
    ### Authenticate
    
    Click the "Authorize" button.
    
    Use the credentials:
    
    User: `johndoe`
    
    Password: `secret`
    
    <img src="/img/tutorial/security/image04.png">
    
    After authenticating in the system, you will see it like:
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_test_context.go

    		TypeMeta: fl.TypeMeta,
    		ListMeta: fl.ListMeta,
    		Items:    copiedItems,
    	}
    }
    
    type fakeAuthorizer struct{}
    
    func (f fakeAuthorizer) Authorize(ctx context.Context, a authorizer.Attributes) (authorizer.Decision, string, error) {
    	return authorizer.DecisionAllow, "", nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. plugin/pkg/admission/gc/gc_admission_test.go

    		if a.GetVerb() == "delete" {
    			return authorizer.DecisionNoOpinion, "", nil
    		}
    		if a.GetVerb() == "update" && a.GetSubresource() == "finalizers" {
    			return authorizer.DecisionNoOpinion, "", nil
    		}
    		if a.GetAPIGroup() == "*" && a.GetResource() == "*" { // this user does not have full rights
    			return authorizer.DecisionNoOpinion, "", nil
    		}
    		return authorizer.DecisionAllow, "", nil
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:28:42 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  5. docs/ko/docs/tutorial/security/simple-oauth2.md

        그것이 표준의 이점입니다 ...
    
    ## 확인하기
    
    대화형 문서 열기: <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>.
    
    ### 인증하기
    
    "Authorize" 버튼을 눌러봅시다.
    
    자격 증명을 사용합니다.
    
    유저명: `johndoe`
    
    패스워드: `secret`
    
    <img src="/img/tutorial/security/image04.png">
    
    시스템에서 인증하면 다음과 같이 표시됩니다:
    
    <img src="/img/tutorial/security/image05.png">
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 22:37:23 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  6. pilot/pkg/credentials/kube/secrets_test.go

    	}
    	for _, tt := range cases {
    		t.Run(fmt.Sprintf("%v/%v/%v", tt.sa, tt.ns, tt.cluster), func(t *testing.T) {
    			con, err := sc.ForCluster(tt.cluster)
    			if err != nil {
    				t.Fatal(err)
    			}
    			got := con.Authorize(tt.sa, tt.ns)
    			if (got == nil) != tt.allowed {
    				t.Fatalf("expected allowed=%v, got error=%v", tt.allowed, got)
    			}
    		})
    	}
    }
    
    func TestSecretsControllerMulticluster(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 19:18:21 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

            final String nonce = UuidUtil.create();
            storeStateInSession(request.getSession(), state, nonce);
            final String authUrl = getAuthority() + getTenant()
                    + "/oauth2/authorize?response_type=code&scope=directory.read.all&response_mode=form_post&redirect_uri="
                    + URLEncoder.encode(getReplyUrl(request), Constants.UTF_8_CHARSET) + "&client_id=" + getClientId()
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/genericapiserver_test.go

    	}
    }
    
    type mockAuthorizer struct {
    	lastURI string
    }
    
    func (authz *mockAuthorizer) Authorize(ctx context.Context, a authorizer.Attributes) (authorized authorizer.Decision, reason string, err error) {
    	authz.lastURI = a.GetPath()
    	return authorizer.DecisionAllow, "", nil
    }
    
    type testGetterStorage struct {
    	Version string
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter_test.go

    type authorizerMatch struct {
    	authorizerResult
    	match authorizer.AttributesRecord
    }
    
    func (f fakeAuthorizer) Authorize(ctx context.Context, a authorizer.Attributes) (authorizer.Decision, string, error) {
    	if f.match != nil {
    		other, ok := a.(*authorizer.AttributesRecord)
    		if !ok {
    			panic(fmt.Sprintf("unsupported type: %T", a))
    		}
    		if reflect.DeepEqual(f.match.match, *other) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 40.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1beta1/types.go

    	// Webhook defines the configuration for a Webhook authorizer
    	// Must be defined when Type=Webhook
    	// Must not be defined when Type!=Webhook
    	Webhook *WebhookConfiguration `json:"webhook,omitempty"`
    }
    
    type WebhookConfiguration struct {
    	// The duration to cache 'authorized' responses from the webhook
    	// authorizer.
    	// Same as setting `--authorization-webhook-cache-authorized-ttl` flag
    	// Default: 5m0s
    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