Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for GetUserInfo (0.08 sec)

  1. src/main/java/jcifs/http/NtlmHttpURLConnection.java

                    String domain = npa.getUserDomain();
                    String user = !npa.isAnonymous() ? npa.getUsername() : null;
                    String password = npa.getPassword();
                    String userInfo = this.url.getUserInfo();
                    if ( userInfo != null ) {
                        userInfo = URLDecoder.decode(userInfo, "UTF-8");
                        int index = userInfo.indexOf(':');
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 25.5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/main/java/jcifs/smb1/smb1/SmbFile.java

     * as a file or directory from a <tt>URL</tt> object.
     *
     * @param   url The URL of the target resource
     */
        public SmbFile( URL url ) {
            this( url, new NtlmPasswordAuthentication( url.getUserInfo() ));
        }
    /**
     * Constructs an SmbFile representing a resource on an SMB network such
     * as a file or directory from a <tt>URL</tt> object and an
     * <tt>NtlmPasswordAuthentication</tt> object.
     *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  7. 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)
  8. 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