Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 209 for userInfo (0.21 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/request/admissionreview.go

    	requestSubResource := attr.GetSubresource()
    	aUserInfo := attr.GetUserInfo()
    	userInfo := authenticationv1.UserInfo{
    		Extra:    make(map[string]authenticationv1.ExtraValue),
    		Groups:   aUserInfo.GetGroups(),
    		UID:      aUserInfo.GetUID(),
    		Username: aUserInfo.GetName(),
    	}
    	dryRun := attr.IsDryRun()
    
    	// Convert the extra information in the user object
    	for key, val := range aUserInfo.GetExtra() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 16:56:12 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  2. pkg/registry/admissionregistration/validatingadmissionpolicy/authz_test.go

    )
    
    func TestAuthorization(t *testing.T) {
    	for _, tc := range []struct {
    		name             string
    		userInfo         user.Info
    		auth             AuthFunc
    		resourceResolver resolver.ResourceResolverFunc
    		expectErr        bool
    	}{
    		{
    			name:      "superuser",
    			userInfo:  &user.DefaultInfo{Groups: []string{user.SystemPrivilegedGroup}},
    			expectErr: false, // success despite always-denying authorizer
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 07 21:29:56 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/FavoriteLogService.java

        @Resource
        protected FessConfig fessConfig;
    
        public boolean addUrl(final String userCode, final BiConsumer<UserInfo, FavoriteLog> favoriteLogLambda) {
            return userInfoBhv.selectByPK(userCode).map(userInfo -> {
                final FavoriteLog favoriteLog = new FavoriteLog();
                favoriteLogLambda.accept(userInfo, favoriteLog);
                favoriteLogBhv.insert(favoriteLog);
                if (fessConfig.isLoggingSearchUseLogfile()) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/webhook/round_trip_test.go

    	}
    }
    
    func v1UserToV1beta1User(u authenticationv1.UserInfo) authenticationv1beta1.UserInfo {
    	var extra map[string]authenticationv1beta1.ExtraValue
    	if u.Extra != nil {
    		extra = make(map[string]authenticationv1beta1.ExtraValue, len(u.Extra))
    		for k, v := range u.Extra {
    			extra[k] = authenticationv1beta1.ExtraValue(v)
    		}
    	}
    	return authenticationv1beta1.UserInfo{
    		Username: u.Username,
    		UID:      u.UID,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/authentication/v1beta1/types.go

    // SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.
    type SelfSubjectReviewStatus struct {
    	// User attributes of the user making this request.
    	// +optional
    	UserInfo v1.UserInfo `json:"userInfo,omitempty" protobuf:"bytes,1,opt,name=userInfo"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:25 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  6. pkg/apis/authentication/v1/conversion.go

    // This is needed because it is referenced from other APIs, but is invisible at code-generation time because of the build tags.
    func Convert_v1_UserInfo_To_authentication_UserInfo(in *v1.UserInfo, out *authentication.UserInfo, s conversion.Scope) error {
    	return autoConvert_v1_UserInfo_To_authentication_UserInfo(in, out, s)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 05:46:42 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/tutorial/configureObject/groovy/build.gradle

    class UserInfo {
        String name
        String email
    }
    
    tasks.register('greet') {
        def user = configure(new UserInfo()) {
            name = "Isaac Newton"
            email = "******@****.***"
        }
        doLast {
            println user.name
            println user.email
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Apr 14 09:57:48 UTC 2024
    - 266 bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/authentication/v1beta1/zz_generated.deepcopy.go

    			}
    			(*out)[key] = outVal
    		}
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserInfo.
    func (in *UserInfo) DeepCopy() *UserInfo {
    	if in == nil {
    		return nil
    	}
    	out := new(UserInfo)
    	in.DeepCopyInto(out)
    	return out
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 23:42:33 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/authentication/v1alpha1/types.go

    // SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.
    type SelfSubjectReviewStatus struct {
    	// User attributes of the user making this request.
    	// +optional
    	UserInfo v1.UserInfo `json:"userInfo,omitempty" protobuf:"bytes,1,opt,name=userInfo"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 23:42:33 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. pkg/apis/authentication/v1/zz_generated.conversion.go

    		return err
    	}
    	if err := s.AddConversionFunc((*authentication.UserInfo)(nil), (*v1.UserInfo)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_authentication_UserInfo_To_v1_UserInfo(a.(*authentication.UserInfo), b.(*v1.UserInfo), scope)
    	}); err != nil {
    		return err
    	}
    	if err := s.AddConversionFunc((*v1.UserInfo)(nil), (*authentication.UserInfo)(nil), func(a, b interface{}, scope conversion.Scope) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 12:50:40 UTC 2023
    - 21.2K bytes
    - Viewed (0)
Back to top