Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for getUserInfo (0.09 sec)

  1. src/main/java/org/codelibs/fess/app/web/base/login/AzureAdCredential.java

            this.authResult = authResult;
        }
    
        @Override
        public String getUserId() {
            return authResult.getUserInfo().getDisplayableId();
        }
    
        @Override
        public String toString() {
            return "{" + authResult.getUserInfo().getDisplayableId() + "}";
        }
    
        public AzureAdUser getUser() {
            return new AzureAdUser(authResult);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/main/java/org/codelibs/fess/es/log/exentity/SearchLog.java

            documentList.add(doc);
        }
    
        public void setSearchQuery(final String query) {
            addSearchFieldLogValue(Constants.SEARCH_FIELD_LOG_SEARCH_QUERY, query);
        }
    
        public OptionalEntity<UserInfo> getUserInfo() {
            if (getUserInfoId() == null) {
                return OptionalEntity.empty();
            }
            if (userInfo == null) {
                final UserInfoBhv userInfoBhv = ComponentUtil.getComponent(UserInfoBhv.class);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

            return UUID.randomUUID().toString().replace("-", StringUtil.EMPTY);
        }
    
        protected void updateUserSessionId(final String userCode) {
            ComponentUtil.getSearchLogHelper().getUserInfo(userCode);
    
            LaRequestUtil.getOptionalRequest().ifPresent(req -> req.setAttribute(Constants.USER_CODE, userCode));
    
            updateCookie(userCode, cookieMaxAge);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top