Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for getUserInfo (0.13 sec)

  1. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

                final String userCode = userInfoHelper.getUserCode();
                if (userCode != null) {
                    searchLog.setUserSessionId(userCode);
                    searchLog.setUserInfo(getUserInfo(userCode));
                }
            }
    
            searchLog.setRoles(roleQueryHelper.build(params.getType()).stream().toArray(n -> new String[n]));
            searchLog.setQueryId(queryId);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 02:07:37 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  2. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt

                }
            }
            return prs
                .filter { it.milestone?.title?.startsWith(milestone.get()) == true }
                .map { it.user.login }
                .toSet()
                .map { getUserInfo(it) }
                .toSet()
        }
    
        private
        fun <T> invokeGitHubApi(uri: String, klass: Class<T>): T {
            val request = HttpRequest.newBuilder()
                .uri(URI(uri))
                .apply {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. cmd/iam.go

    		return false, "", errNoSuchUser
    	}
    	cred := u.Credentials
    	if cred.IsServiceAccount() {
    		return true, cred.ParentUser, nil
    	}
    
    	return false, "", nil
    }
    
    // GetUserInfo - get info on a user.
    func (sys *IAMSys) GetUserInfo(ctx context.Context, name string) (u madmin.UserInfo, err error) {
    	if !sys.Initialized() {
    		return u, errServerNotInitialized
    	}
    
    	loadUserCalled := false
    	select {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  4. cmd/admin-router.go

    		// User info
    		adminRouter.Methods(http.MethodGet).Path(adminVersion+"/user-info").HandlerFunc(adminMiddleware(adminAPI.GetUserInfo)).Queries("accessKey", "{accessKey:.*}")
    		// Add/Remove members from group
    		adminRouter.Methods(http.MethodPut).Path(adminVersion + "/update-group-members").HandlerFunc(adminMiddleware(adminAPI.UpdateGroupMembers))
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  5. cmd/admin-handlers-users.go

    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	writeSuccessResponseJSON(w, econfigData)
    }
    
    // GetUserInfo - GET /minio/admin/v3/user-info
    func (a adminAPIHandlers) GetUserInfo(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	vars := mux.Vars(r)
    	name := vars["accessKey"]
    
    	// Get current object layer instance.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  6. cmd/iam-store.go

    		return true
    	})
    	cache.iamSTSPolicyMap.Range(func(k string, v MappedPolicy) bool {
    		result[k] = v.Policies
    		return true
    	})
    	return result
    }
    
    // GetUserInfo - get info on a user.
    func (store *IAMStoreSys) GetUserInfo(name string) (u madmin.UserInfo, err error) {
    	if name == "" {
    		return u, errInvalidArgument
    	}
    
    	cache := store.rlock()
    	defer store.runlock()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  7. cmd/admin-handlers-users_test.go

    		SecretKey: randPass,
    	}
    }
    
    func (c *check) mustGetIAMUserInfo(ctx context.Context, admClnt *madmin.AdminClient, accessKey string) madmin.UserInfo {
    	c.Helper()
    	ui, err := admClnt.GetUserInfo(ctx, accessKey)
    	if err != nil {
    		c.Fatalf("should be able to get user info: %v", err)
    	}
    	return ui
    }
    
    func (c *check) mustNotCreateIAMUser(ctx context.Context, admClnt *madmin.AdminClient) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  8. cmd/site-replication.go

    	if change == nil {
    		return errSRInvalidRequest(errInvalidArgument)
    	}
    	// skip overwrite of local update if peer sent stale info
    	if !updatedAt.IsZero() {
    		if ui, err := globalIAMSys.GetUserInfo(ctx, change.AccessKey); err == nil && ui.UpdatedAt.After(updatedAt) {
    			return nil
    		}
    	}
    
    	var err error
    	if change.IsDeleteReq {
    		err = globalIAMSys.DeleteUser(ctx, change.AccessKey, true)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFile.java

         */
        @Deprecated
        public SmbFile ( URL url ) throws MalformedURLException {
            this(url, SingletonContext.getInstance().withCredentials(new NtlmPasswordAuthentication(SingletonContext.getInstance(), url.getUserInfo())));
        }
    
    
        /**
         * Constructs an SmbFile representing a resource on an SMB network such
         * as a file or directory. The second parameter is a relative path from
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
Back to top